<< fmhyp Choice of the Instantaneous Frequency fmodany >>

stftb >> stftb > Choice of the Instantaneous Frequency > fmlin

fmlin

Signal with linear frequency modulation

Calling Sequence

[Y,IFLAW] = fmlin(N)
[Y,IFLAW] = fmlin(N, FNORMI)
[Y,IFLAW] = fmlin(N, FNORMI, FNORMF)
[Y,IFLAW] = fmlin(N, FNORMI, FNORMF, T0)

Parameters

N :

a positive integer: the number of points.

FNORMI :

a real scalar in [-0.5 0.5]: the initial normalized frequency (default: 0)

FNORMF :

a real scalar in [-0.5 0.5]: the final normalized frequency (default: 0.5)

T0 :

an integer in [1 N]: the time center (default: round(N/2)).

Y :

a complex column vector of size N: the signal.

IFLAW :

a real column vector of size N: the instantaneous frequency law (optional).

Description

fmlin generates a linear frequency modulation. The phase of this modulation is such that Y(T0)=1.

Examples

[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"))

See also

Authors


Report an issue
<< fmhyp Choice of the Instantaneous Frequency fmodany >>