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