Is there lqid() ? Lqr() has lqrd(), but I can't find lqid()

Is there lqid()?
Lqr() (continuous-time) has lqrd() (discrete-time), but I can't find lqid().
Is lqi() overloaded for discrete, or am I just trying for the wrong function name for discrete lqi?

 Accepted Answer

To answer my own question, after writing to mathworks:
lqr() has lqrd(), but there isn't an equivalent for lqi(). lqi() is overloaded and accepts discrete system, and returns discrete gains. I missed that in the documentation.
I'm not sure why lqr() has different versions, but, hopefully this helps anyone else wondering.

1 Comment

lqr is also overloaded and can accept discrete- or continuous-time system as the sys input. lqrd isn't the same as lqr() with a discrete sys input. The Q and R and N matrices mean different things for the two functions.

Sign in to comment.

More Answers (0)

Products

Release

R2022b

Asked:

on 28 Mar 2023

Commented:

on 29 Mar 2023

Community Treasure Hunt

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

Start Hunting!