File Exchange

image thumbnail


version (894 Bytes) by zameer abbas
Coding to get matrix of negative feedback gain for Linear Quadratic Regulator


Updated 30 Jul 2014

View License

The MATLAB code involves procedure to find the feedback gain for linear quadratic regulator. The user is asked to input state space matrix and then using MATLAB function "LQR" the elements of feedback gain are found out.

Cite As

zameer abbas (2021). LQR.m (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (3)

parvathy ss


Can you please explain why line 8 & 9 in your script are required? What is the need for converting state space model to transfer function and what exactly is "sys1" doing?

tammineni ravi

MATLAB Release Compatibility
Created with R2013a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!