Signal with linear frequency modulation
[Y,IFLAW] = fmlin(N) [Y,IFLAW] = fmlin(N, FNORMI) [Y,IFLAW] = fmlin(N, FNORMI, FNORMF) [Y,IFLAW] = fmlin(N, FNORMI, FNORMF, T0)
a positive integer: the number of points.
a real scalar in [-0.5 0.5]: the initial normalized frequency (default: 0)
a real scalar in [-0.5 0.5]: the final normalized frequency (default: 0.5)
an integer in [1 N]: the time center (default: round(N/2)).
a complex column vector of size N: the signal.
a real column vector of size N: the instantaneous frequency law (optional).
fmlin generates a linear frequency modulation. The phase of this modulation is such that Y(T0)=1.
[X,IFLAW] = fmlin(128,0.05,0.3,50); clf subplot(211); plot(real(X)); xtitle(_("Signal real part")) subplot(212); plot(IFLAW); xtitle(_("Instantaneous frequency law")) | ![]() | ![]() |