how to measure duty cycle of a given wave form

1 view (last 30 days)
I have got a PWM Signal in Simulink and i want to calculate the duty cycle of it. The data are like 10010011111000011100000111110001111 Is there any Model in Simulink that can help me to do this ? Or should I use the m-code? How ?
Thanks a lot for your help

Answers (0)

Categories

Find more on View and Analyze Simulation Results 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!