chirp
|
Page in progress. |
Variable frequency cosine (chirp).
| Library |
|
Arguments
Input arguments
# f0 — initial frequency
+
0 (by default) | scalar
Details
Instantaneous frequency in Hz at a moment in time 0, defined as a real scalar.
| Data types |
|
# t1 is the countdown time
+
1 (by default) | scalar
Details
The reference time in seconds, set as a positive scalar.
| Data types |
|
# method — method of changing the instantaneous frequency
+
"linear" (default) | "quadratic" | "logarithmic"
Details
The method of changing the instantaneous frequency, specified as "linear", "quadratic", or "logarithmic":
-
"linear"— linear frequency change :where
and, by default, the value . Ratio ensures that the desired reference frequency is maintained at a moment in time .
-
"quadratic"— quadratic frequency change :where
and, by default, the value . If , then the default waveform is convex if , then the default waveform is concave.
-
"logarithmic"— logarithmic frequency change :where
and, by default, the value .
| Data types |
|
# phi — initial phase
+
100 (default) | scalar
Details
The initial phase in degrees, set as a positive scalar;
| Data types |
|
#
shape —
the shape of a quadratic chirp
+ spectrogram
"convex" | "concave"
Details
The shape of the quadratic chirp spectrogram, given as "convex" or "concave". Meaning shape describes the shape of a parabola relative to the axis of positive frequencies. By default, shape is "convex" When (swiping down), and "concave" When (swiping up).
| Data types |
|
# cplx — output complexity
+
"real" (by default) | "complex"
Details
The complexity of the output, given as "real" or "complex".
| Data types |
|
Output arguments
# y is a cosine signal with varying frequency
+
vector
Details
A cosine signal with varying frequency, returned as a vector.