Instead of Triangular wave generator from Library browser Embedded Matlab func (user defined) is used. Make sure that tha amplitude of sine and triangle wave are equal.and also the freq of triangular is not less than twice the freq of sine wave.(remember sampling theorem?) And to increase the simulation speed decrease the sampling time value in unit delay block.
Vijayenthiran Subramaniam (2022). Sine PWM (https://www.mathworks.com/matlabcentral/fileexchange/33727-sine-pwm), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Inspired: Firing Schemes for Controlled P.E Devices - Comparing Sine Carrier Signal with Sine Control Signal, Firing Schemes for Controlled P.E Devices - Comparing Sine Carrier Signal with Control Signal
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!