<< Choice of the Instantaneous Frequency Choice of the Instantaneous Frequency fmhyp >>

stftb >> stftb > Choice of the Instantaneous Frequency > fmconst

fmconst

Signal with constant frequency modulation

Calling Sequence

[Y,IFLAW] = fmconst(N, FNORM, T0)

Parameters

N :

a positive integer: the number of points.

FNORM :

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

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

fmconst generates a frequency modulation with a constant frequency fnorm. The phase of this modulation is such that y(t0)=1.

Examples

[X,IFLAW] = fmconst(128,0.05,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
<< Choice of the Instantaneous Frequency Choice of the Instantaneous Frequency fmhyp >>