Simulink Decreasing Constant over Time

조회 수: 5 (최근 30일)
Kyle Taliaferro
Kyle Taliaferro 2013년 2월 27일
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.

채택된 답변

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Signal Attributes and Indexing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by