When K=dlqr(Ad,Bd,Q,R) is used, Ad,Bd is already discretized, why not Q,R?

23 次查看(过去 30 天)
I wish to know dlqr() priciple,I thank write dlqr() C won code ON MCU (STM32F103CBT6).

回答(1 个)

Paul
Paul 2024-11-9,13:59
According to dlqr, the Q and R matrices input to the function define the discrete-time quadratic cost function sum. In that sense, they are already "discretized," aren't they?
Note: the Riccati equation shown in the Algorithms section of dlqr looks suspect.

产品


版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by