Simulink Decreasing Constant over Time
5 views (last 30 days)
Show older comments
I have a constant of 350 and a time of 60 second. I need the constant to decrease by 10 every second for 10 second and then stay the same after the ten seconds. So the constant would be 350 at start and then become 250 after the ten seconds and remain at 250 for the remaining 50 seconds. How can i achieve this? This constant should be decreasing at a liner rate.
0 Comments
Accepted Answer
Teja Muppirala
on 27 Feb 2013
Here are two ways to do it:
1. [Ramp] --> [Saturation] -->
2. Use the Signal Builder block (works for more complicated piecewise linear signals)
More 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!