chirp
Chirp signal at time t.
Calling Sequence
y = chirp(t)
y = chirp(t, f0)
y = chirp(t, f0, t1)
y = chirp(t, f0, t1, f1)
y = chirp(t, f0, t1, f1, form)
y = chirp(t, f0, t1, f1, form, phase)
Parameters
t:
a vector of times to evaluate the chirp signal.
f0:
the frequency at t=0. [default value = 0 Hz]
t1:
some intermediate time. [default value = 1 sec]
f1:
frequency at t=t1. [default value = 100 Hz]
form:
string value, takes in "linear", "quadratic", "logarithmic". [default value = "linear"]
phase:
phase shift at t=0. [default value = 0]
y:
chirp signal value corresponding to t.
Description
This function evaluates a chirp signal at time t. A chirp signal is a frequency swept cosine wave.
The first argument is a vector of times to evaluate the chirp signal, second argument is the frequency at t=0, third argument is time t1 and fourth argument is frequency at t1.
The fifth argument is the form which takes in values "linear", "quadratic" and "logarithmic", the sixth argument gives the phase shift at t=0.
Examples
Modified by :
Sonu Sharma, RGIT Mumbai (fellow at FOSSEE, IIT Bombay)