<< amgauss Choice of the Instantaneous Amplitude amtriang >>

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

amrect

Generate rectangular amplitude modulation.

Calling Sequence

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

Parameters

N :

number of points.

T0 :

time center (default : N/2).

T :

time spreading (default : 2*sqrt(N)).

Y :

signal.

Description

amrect generates a rectangular amplitude modulation centered on a time T0, and with a spread proportional to T. This modulation is scaled such that Y(T0)=1.

Examples

z=amrect(160);plot(z);
z=amrect(160,90,40);plot(z);
z=amrect(160,180,70);plot(z);

See also

Authors

<< amgauss Choice of the Instantaneous Amplitude amtriang >>