Calculating the duty cycle of PWM signal using Matlab/Simulink

Status
Not open for further replies.

andrewliu

Newbie level 1
Joined
Jul 24, 2013
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
5
Hello Everyone,

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
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…