Digital Signal Processing Reference
In-Depth Information
(a) Sinusoidal
f(t)
t,
sec
0
T
2T
(b) Rectangular
f(t)
t,
sec
0
T
2T
(c) Triangular
f(t)
t,
sec
0
T
2T
FIGURE 3.7
Periodic waveforms.
t
, centered about
t
= 0. By default, the triangle is
symmetric and has duration of 1 sec.
>> y = tripuls(t,w); generates a triangle, with
parameters as above, but duration of
w,
sec
.
.
Note:
Please also try other signal generation commands such as sin, cos, chirp,
diric, gauspuls, pulstran, and rectpuls.