A bit silly, but I figured it out after tinkering some more. In case is useful for anyone else, I solved this using two logic gate blocks. Please check the following figure:
Suggestions to generate a pulse train in Simulink
2 views (last 30 days)
Show older comments
Hi! Apologies if this is quite a simple thing. I want to generate a series of pulse trains to stimulate an animal's whiskers. I was able to do this using a script, but I want to do this using Simulink blocks. The pulse train should be something like this:
I can get a simple pulse working using the pulse generator block, but I don't know how to include "nested" pulses.
Answers (0)
See Also
Categories
Find more on Sources 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!