How can be generated aperiodic triangle carrier signal for PWM
4 views (last 30 days)
Show older comments
I would like to generate triangle signal starts from 0 degree and stops at 60 degree and then starts at 120 degree and stops at 180 degree for half cycle sine wave reference, and then it is repeat itself. If possible by coding or simulink. The attached picture would explain the required triangle wave.
Answers (1)
Sulaymon Eshkabilov
on 28 Aug 2019
Hi Ali,
for your problem, sawtooth() function does not work. Instead you'd need to employ triangular pulse generator function tripuls() (see the link:https://www.mathworks.com/help/signal/ref/tripuls.html)
Sub-divide the time space into 6 subsections t1 = [0, 60]; t2 = [50, 120]; t3 = [...], ..., t6 = [300, 360]; generate triangular pulse where you need (section 1, 3 and reversed ones in section 4 and 6).
Good luck
1 Comment
Nandhini
on 6 Apr 2023
Can you please elabrate more about these... i am also want to generate Aperiodic traiangle wave
See Also
Categories
Find more on Sources in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!