matlab code for equations below (model predictive control)

1 回表示 (過去 30 日間)
Magdi Nabi
Magdi Nabi 2013 年 11 月 4 日
編集済み: Sean de Wolski 2013 年 11 月 4 日
x(k)=Ax(k-1)+BU(k-1)
A= 78
B=[35 20 10]
U=[22;13;2]
x(k+1)=A^(2)*x(k-1)+A*B*U(k-1)+B*U(k)
x(k+2)=A^(3)*x(k-1)+A^(2)*B*U(k-1)+A*B*U(k)+B*U(k+1)
and so on
x(k+n)=.....................
any idea how to cod this using Matlab M-file
thanks and appreciate your help

回答 (1 件)

Yatin
Yatin 2013 年 11 月 4 日
Hello Magdi,
Please have a look at the link below. I think the resources on the page will be helpful.

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by