generate a ramp signal based on an external input
9 views (last 30 days)
Show older comments
Juan Nunez
on 12 May 2016
Hello,
How can I generate a ramp signal based on an external input in matlab. For example, when the external input K changes its value from 0 to 1 then the ramp signal is generated. If this is implemented in simulink, is it required to use the clock block?
Thanks.
2 Comments
Accepted Answer
Azzi Abdelmalek
on 13 May 2016
You can use a clock block, and multiply it by your K value, using a product block, then multiply the output of the product block by a constant to specify the slope of your rampe
More Answers (1)
Amruta
on 3 Nov 2025 at 10:49
Hi
how to implement ramp signal in simulink which will increase upto target speed in desired time
0 Comments
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!