How to plot PWM signal with specific duty cycle and frequency ?

89 views (last 30 days)
Is there any way of plotting a PWM signal when the duty cycle and the frequency is known ?

Accepted Answer

Ajay Pattassery
Ajay Pattassery on 31 Oct 2019
The following answer explains how to generate a square wave in Matlab with frequency,​amplitude,​voltage offset, and duty cycle. The parameter offset can be ignored for your case.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!