<< amexpo2s Choice of the Instantaneous Amplitude amrect >>

Time Frequency Toolbox >> Time Frequency Toolbox > Choice of the Instantaneous Amplitude > amgauss

amgauss

Generate gaussian amplitude modulation.

Calling Sequence

Y=amgauss(N)
Y=amgauss(N,T0)
Y=amgauss(N,T0,T)

Parameters

N :

a positive integer value: the number of points.

T0 :

a positive scalar: time center (default : N/2).

T :

a positive scalar: the time spreading (default : 2*sqrt(N)).

Y :

a real row vector: the signal.

Description

amgauss generates a gaussian amplitude modulation centered on a time T0, and with a spread proportional to T. This modulation is scaled such that Y(T0)=1 and Y(T0+T/2) and Y(T0-T/2) are approximately equal to 0.5 .

Examples

With default parameters

z1=amgauss(160); 
z2=amgauss(160,90,40);
z3=amgauss(160,180,50);
clf;plot([z1 z2 z3])
legend(["T0 = N/2, T = 2*sqrt(N)";"T0 = 90; T = 40";"T0 = 180; T = 50"]);

See also

Authors


Report an issue
<< amexpo2s Choice of the Instantaneous Amplitude amrect >>