| Contents | Index |
y=tripuls(T)
y=tripuls(T,w)
y=tripuls(T,w,s)
y = tripuls(T) returns a continuous, aperiodic, symmetric, unity-height triangular pulse at the times indicated in array T, centered about T=0 and with a default width of 1.
y = tripuls(T,w) generates a triangular pulse of width w.
y = tripuls(T,w,s) generates a triangular pulse with skew s, where -1 < s < 1. When s is 0, a symmetric triangular pulse is generated.
Create a triangular pulse with width 0.4.
fs = 10000;
t = -1:1/fs:1;
w = .4;
x = tripuls(t,w);
figure,plot(t,x)
xlabel('Time (sec)');ylabel('Amplitude');
title('Triangular Aperiodic Pulse')

chirp | cos | diric | gauspuls | pulstran | rectpuls | sawtooth | sin | square | tripuls

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |