24小时热门版块排行榜    

查看: 2539  |  回复: 0

fogbaby

新虫 (初入文坛)

[交流] matlab中lqr语句使用问题

错误使用 lqr (line 43)
The "lqr" 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 [Q N;N' R] positive definite (use EIG to check positivity).

出错 empc_coal (line 103)
  [K,P,r] = lqr(AA1,BB1,Wx,Wu);


求助大佬们怎么去正确使用lqr语句
回复此楼

» 猜你喜欢

已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 fogbaby 的主题更新
普通表情 高级回复 (可上传附件)
信息提示
请填处理意见