Signal Processing Toolbox | Help Desk |
square
Square wave generator.
x = square(t) x = square(t,duty)
square(t)
generates a square wave with period t
. square(t)
is similar to sin(t)
, but it creates a square wave with peaks of square(t,duty)
generates a square wave with specified duty cycle, duty
. The duty cycle is the percent of the period in which the signal is positive.
Cosine of vector/matrix elements (see MATLAB Function Reference). |
|
Sine of vector/matrix elements (see MATLAB Function Reference). |
|