Extraction of Duty Ratio of a PWM in matlab

Hello,
Could anybody please help me as to how can I extract the duty ratio of a PWM wave I am getting from the simulink.
Thank you,
Best Regards Bijeta Chakraborty

 Accepted Answer

In R2012a in the Signal Processing Toolbox, there is a new function dutycycle.

1 Comment

Thanks Wayne.. I don't have this version of MATLAB. May I know if there is any other way I can use this in R2010a ?

Sign in to comment.

More Answers (1)

Thanks Wayne.. I don't have this version of MATLAB. May I know if there is any other way I can use this in R2010a ?

Communities

More Answers in the  Power Electronics Control

Community Treasure Hunt

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

Start Hunting!