Algebraic_​loop_Solut​ion_SIMULI​NK

Hi !
I want to implement the following pseudo-code in SIMULINK:
q^0 = q_init, i = 0
IF q^i ! = q_final
q^(i+1) = q^i + alpha * F(q^i)
i = i + 1
ELSE return <q^0,q^1 ... q^i>
The main problem is, that F(q^i) is a function of the current q and is calculated in every iteration. When trying to impement this in SIMULINK, I run into an algebraic loop that cannot be solved.
What is the proper way of solving the problem (in SIMULINK) ?
Thank you !
Miklos

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeConfigure Simulation Conditions についてさらに検索

質問済み:

2015 年 11 月 21 日

編集済み:

2015 年 11 月 21 日

Community Treasure Hunt

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

Start Hunting!

Translated by