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

조회 수: 5 (최근 30일)
John
John 2023년 3월 28일
댓글: Paul 2023년 3월 29일
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?

채택된 답변

John
John 2023년 3월 29일
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
Paul
Paul 2023년 3월 29일
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.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by