Time-varying constant input in Simulink

Hi, How can I generate a constant input, but time-varying? Say at 0-10, it should output 5, then 10-20 -->0, then after 20, it should output say 10?
I was trying ''repeating sequence'', but that was doing linear increase on intervals; I need step/sudden increase.

Antworten (1)

Yi Han
Yi Han am 17 Nov. 2017

0 Stimmen

Hi Ariana, A lookup table should meet your needs. Thanks, Han

Kategorien

Mehr zu Simulink finden Sie in Hilfe-Center und File Exchange

Tags

Gefragt:

am 23 Jan. 2015

Beantwortet:

am 17 Nov. 2017

Community Treasure Hunt

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

Start Hunting!

Translated by