<< fmlin Choice of the Instantaneous Frequency fmpar >>

Time Frequency Toolbox >> Time Frequency Toolbox > Choice of the Instantaneous Frequency > fmodany

fmodany

Signal with arbitrary frequency modulation.

Calling Sequence

[Y,IFLAW]=fmodany(IFLAW)
[Y,IFLAW]=fmodany(IFLAW,T0)

Parameters

IFLAW :

real vector of length N: the instantaneous frequency law samples.

T0 :

an integer in [1 N]: the time reference (default: 1).

Y :

a complex column vector of size N: the output signal

Description

fmodany generates a frequency modulated signal whose instantaneous frequency law is approximately given by the vector IFLAW (the integral is approximated by CUMSUM). The phase of this modulation is such that y(t0)=1.

Examples

[y1,ifl1]=fmlin(100); 
[y2,ifl2]=fmsin(100);
iflaw=[ifl1;ifl2]; sig=fmodany(iflaw);
clf;
subplot(211); plot(real(sig));xtitle(_("Signal real part"))
subplot(212); plot(iflaw);xtitle(_("Instantaneous frequency law"))

See also

Authors


Report an issue
<< fmlin Choice of the Instantaneous Frequency fmpar >>