GENERATION OF SINUSOIDAL PULSE WIDTH MODULATION USING MATLAB
This matlab code explains the Sinusoidal pulse Width Modulation in a very easy way. One can enter the carrier frequency(say 2000Hz), then we will get the waveform of carrier (triangular) wave, modulating (sine) wave of 50 Hz, how carrier and modulating waves are compared and finally the SPWM.
The code also finds out the Modulation Ratio and Modulation index.
The attached word file gives more description.
Cite As
Ajayan (2025). GENERATION OF SINUSOIDAL PULSE WIDTH MODULATION USING MATLAB (https://www.mathworks.com/matlabcentral/fileexchange/65066-generation-of-sinusoidal-pulse-width-modulation-using-matlab), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Communities
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
spwm_ajayan/
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |