How to combine array elements to form a single signal
Show older comments
I am trying to create a PWM signal based on dynamic inputs of Duty cycle.
For that, I have creted an array of On and Off timing using a Steteflow. So if my Duty Cycle is 30%, PulseArray = [1110000000].
Now I need a single signal which is a PWM pulse, with this ON-OFF time. How do I combine all these array elements to form one signal ?
Thanks in advance!
2 Comments
Walter Roberson
on 28 Nov 2019
In the above case of 1110000000 what would value of the single signal be?
Nazish Shaikh
on 28 Nov 2019
Answers (0)
Categories
Find more on Waveform Generation 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!