重み付け行列を持ちG
、Rin
使用するlqry
[K,~,~] = lqry(mysys,G,Rin);
次のエラーが発生しました。
Error using ss/lqry (line 96) The "lqry" command failed to stabilize the plant or find an optimal feedback gain. To remedy this problem:
1. Make sure that all unstable poles of A are controllable through B (use MINREAL to check)
2. Modify the weights Q and R to make [C D;0 I]'*[Q N;N' R]*[C D;0 I] positive definite (use EIG to check positivity).
計画を安定させるために使用したい場合minreal
、どのように変更すればよいG
ですRin
か?
mysys=minreal(mysys);
G=?????
Rin=?????
[K,~,~] = lqry(mysys,G,Rin);