Triangle Wave - Mask defining example
Version 1.0.0.0 (8.65 KB) by
Julien
Generates a Triangle wave by setting the Amplitude and the Period of the signal.
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.
Cite As
Julien (2026). Triangle Wave - Mask defining example (https://www.mathworks.com/matlabcentral/fileexchange/38526-triangle-wave-mask-defining-example), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2012a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Author Block Masks in Help Center and MATLAB Answers
Tags
Acknowledgements
Inspired: PWM Block, PWM with Dead-Time
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |