Simulink Decreasing Constant over Time

5 vues (au cours des 30 derniers jours)
Kyle Taliaferro
Kyle Taliaferro le 27 Fév 2013
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.

Réponse acceptée

Teja Muppirala
Teja Muppirala le 27 Fév 2013
Here are two ways to do it:
1. [Ramp] --> [Saturation] -->
2. Use the Signal Builder block (works for more complicated piecewise linear signals)

Plus de réponses (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by