difference between "care" and "lqry"?
13 ビュー (過去 30 日間)
古いコメントを表示
I would like to know the differences between matlab function "care" and "lqry".
care needs the matrices A,B,Q,R. lqry needs also C and D. But what are matrices C and D? In the matlab help, "help lqry", they say that
system dynamics dx/dt = Ax + Bu, y = Cx + Du...
but what is y? and C and D?
1 件のコメント
Cheetamun Koshal
2016 年 6 月 25 日
y is the output of the dynamic system. C and D are the matrices that will form the output.
There is no big difference in care and lqry except for the lqry the cost function depend on the output and with care the cost function does not depend on the output. So it you want to minimize the cost function wrt to the output , choose the lqry
回答 (1 件)
Sean de Wolski
2013 年 4 月 10 日
編集済み: Sean de Wolski
2013 年 4 月 10 日
As with any MATLAB function, I highly recommend reading the doc rather than the help. It has more details and examples:
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Startup and Shutdown についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!