|
Purpose
|
Triangular amplitude modulation.
|
Synopsis
y = amtriang(N)
y = amtriang(N,t0)
y = amtriang(N,t0,T)
|
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.
| Name |
Description |
Default value |
| N |
number of points |
|
| t0 |
time center |
N/2 |
| T |
time spreading |
2*sqrt(N) |
| y |
signal |
|
|
Examples
z=amtriang(160); plot(z);
z=amtriang(160,90,40); plot(z);
z=amtriang(160,180,50); plot(z);
See Also
amexpo1s, amexpo2s, amgauss, amrect.
|
Eric Chassande-Mottin
2005-10-26
|