GENERATION OF SINUSOIDAL PULSE WIDTH MODULATION USING MATLAB
Version 1.0.0.0 (188 KB) by
Ajayan
GENERATION OF SINUSOIDAL PULSE WIDTH MODULATION USING MATLAB for one cycle
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 (2026). GENERATION OF SINUSOIDAL PULSE WIDTH MODULATION USING MATLAB (https://in.mathworks.com/matlabcentral/fileexchange/65066-generation-of-sinusoidal-pulse-width-modulation-using-matlab), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2015a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Modulation in Help Center and MATLAB Answers
Tags
Communities
More Files in the Power Electronics Control Community
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 |
