フィルターのクリア

Four constant number at different time in Simulink

2 ビュー (過去 30 日間)
Jason Lee
Jason Lee 2011 年 7 月 30 日
Hello guys, after a fortnight of obtaining the answer on giving 2 different constant numbers at 2 different time. Now is it possible to have 4 or 5 different constants at different time.
2 different constants at 2 different time can be achieved by using the step function, where you assign the initial value and final value..
Any help would be greatly appreciate =)

回答 (2 件)

Titus Edelhofer
Titus Edelhofer 2011 年 7 月 30 日
Hi,
you can use the 1D interpolation block: feed with the clock signal, put for "x" the time points, for "y" the values and use "zero order hold" for interpolation method.
Titus

Fangjun Jiang
Fangjun Jiang 2011 年 7 月 30 日
You can use the solution in this post to set as many as you want.

カテゴリ

Help Center および File ExchangeString についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by