<< amrect Choice of the Instantaneous Amplitude Bilinear Time-Frequency Processing in the Affine Class >>

stftb >> stftb > Choice of the Instantaneous Amplitude > amtriang

amtriang

Generate triangular amplitude modulation

Calling Sequence

Y = amtriang(N)
Y = amtriang(N, T0)
Y = amtriang(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

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

Examples

z1 = amtriang(160); 
z2 = amtriang(160,90,40);
z3 = amtriang(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
<< amrect Choice of the Instantaneous Amplitude Bilinear Time-Frequency Processing in the Affine Class >>