Signal Processing Toolbox | ![]() ![]() |
Generate a sampled aperiodic triangle.
Syntax
y=
tripuls(T) y=
tripuls(T,w) y=
tripuls(T,w,s)
Description
y
returns a continuous, aperiodic, symmetric, unity-height triangular pulse at the times indicated in array =
tripuls(T)
T
, centered about T=0
and with a default width of 1.
y
generates a triangular pulse of width =
tripuls(T,w)
w
.
y
generates a triangular pulse with skew =
tripuls(T,w,s)
s
, where -1
< s
< 1
. When s
is 0, a symmetric triangular pulse is generated.
See Also
chirp |
Generate a swept-frequency cosine. |
cos |
Compute the cosine of vector/matrix elements (see the MATLAB documentation). |
diric |
Compute the Dirichlet or periodic sinc function. |
gauspuls |
Generate a Gaussian-modulated sinusoidal pulse. |
pulstran |
Generate a pulse train. |
rectpuls |
Generate a sampled aperiodic rectangle. |
sawtooth |
Generate a sawtooth or triangle wave. |
sin |
Compute the sine of vector/matrix elements (see the MATLAB documentation). |
sinc |
Compute the sinc or sin(![]() ![]() |
square |
Generate a square wave. |
![]() | triang | udecode | ![]() |