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.

Réponses (1)

Yi Han
Yi Han le 17 Nov 2017

0 votes

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

Catégories

En savoir plus sur Simulink dans Centre d'aide et File Exchange

Tags

Question posée :

le 23 Jan 2015

Réponse apportée :

le 17 Nov 2017

Community Treasure Hunt

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

Start Hunting!

Translated by