image thumbnail

Wavefrom Generator

version (14.7 KB) by Vijayenthiran Subramaniam
Generation of various waveforms without using Simulink Library blocks.


Updated 24 Nov 2011

View License

In this block generation of Sawtooth,Square wave,Triangular wave,Flipped sawtooth wave,and Sine PWM is done using embedded block(user defined) and without using any blocks from Simulink Library.For better understanding of the code,read the comments in the embedded block.Anyone can make use of this as a library file and can use it for various simulation. Varying the amplitude and frequency of the all waveforms becomes simpler.They can also be varied for a specific waveform.

Cite As

Vijayenthiran Subramaniam (2021). Wavefrom Generator (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!