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.