How to Generate Periodic Signals in Matlab (Sinusoidal, Square, Sawtooth)
How to Generate Periodic Signals in Matlab (Sinusoidal, Square, Sawtooth) 2020 - Programming in Matlab (Matlab Course)
In addition to the sin and cos functions in MATLAB®, the toolbox offers other functions that produce periodic signals such as sawtooth and square.
The sawtooth function generates a sawtooth wave with peaks at +/- 1 and a period of 2*pi. An optional width parameter specifies a fractional multiple of 2*pi at which the signal's maximum occurs.
The square function generates a square wave with a period of 2*pi. An optional parameter specifies the duty cycle, the percent of the period for which the signal is positive.
In addition to the sin and cos functions in MATLAB®, the toolbox offers other functions that produce periodic signals such as sawtooth and square.
The sawtooth function generates a sawtooth wave with peaks at +/- 1 and a period of 2*pi. An optional width parameter specifies a fractional multiple of 2*pi at which the signal's maximum occurs.
The square function generates a square wave with a period of 2*pi. An optional parameter specifies the duty cycle, the percent of the period for which the signal is positive.
No comments