フィルターのクリア

stateflow interpretation blocks- integrator

1 回表示 (過去 30 日間)
Samah EL QASSAH
Samah EL QASSAH 2016 年 10 月 20 日
回答済み: Muthukumar Ganesan 2022 年 8 月 16 日
Hi!
Can you please help me to interpret these blocks please? I'm beginner in stateflow.

回答 (1 件)

Muthukumar Ganesan
Muthukumar Ganesan 2022 年 8 月 16 日
Hi,
These are Causal Discrete systems. Let's assume input is x and output is y.
Hope you are good at C.
Case 1: Accumulates x for the subsequent samples with no limit on its ouput. There is a possibility out of bound.
y(n) = x(n) + y(n-1)
Case 2: Accumulates x for the subsequent samples with a limit of -10 to +10. No possibility of out of bound.
Temp = x(n) + y(n-1)
if Temp > 10
y(n) = 10
else if Temp < -10
y(n) = -10
else
y(n) = Temp
Thanks.

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by