Square Pulse Generator with Varying Amplitude
Show older comments
I am modeling a system using Simulink.
I need to make the input of the system a series of pulses (non periodic). Each pulse has a different amplitude.
For example, the first pulse has an amplitude of 5 ; the 2nd: 3 ; the 3rd: 10 ; the 4th: 1 ; the 5th: 20 ; etc.
I though that I should make a gain matrix and multiply it by the input pulse generator but it doesn't seem to work...
Any idea how to solve this?
Thanks!
Accepted Answer
More Answers (0)
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!