Clear Filters
Clear Filters

MATLAB minreal for stabilizing a control plan

1 view (last 30 days)
Having weighing matrices G and Rin using lqry
[K,~,~] = lqry(mysys,G,Rin);
I got the following error:
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).
If I want to use minreal for stabilizing the plan, how should I modify G and Rin ?
mysys=minreal(mysys);
G=?????
Rin=?????
[K,~,~] = lqry(mysys,G,Rin);

Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!