File Exchange

image thumbnail

Triangle Wave - Mask defining example

version 1.0 (8.65 KB) by

Generates a Triangle wave by setting the Amplitude and the Period of the signal.



View License

It is an example of how to design a simulink block with a mask to set the parameters.

This block generates a triangle wave, using the integration of a pulse time-based generator.

Right click and the block and choose edit mask to see how the mask is defined, or choose look under mask to see the components used in this block.

Comments and Ratings (2)

smitha m

can you please tell me why have you taken the constant as 2*A/P and also the amplitude of pulse as 4*A/P.

Eric Liu


MATLAB Release
MATLAB 7.14 (R2012a)

Inspired: PWM Block, PWM with Dead-Time

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video