Today is...
Wednesday, June 20, 2018
Welcome to, the global online
community of automation professionals.
Featured Video...
Featured Video
Wiring and programming your servos and I/O just got a lot easier...
Our Advertisers
Help keep our servers running...
Patronize our advertisers!
Visit our Post Archive
LQR Implementation using Simulink
I am trying to stabilize a system using LQR. I was able to find the K, Q, and R matrix. How would I translate this to simulink?


I am working on a project that requires me to use LQR. After finding the K values, Q matrix and R matrix, I don't know how to implement it in simulink. Does anyone happen to have an example of this or something similar? I am using an arduino mega and an IMU to get the readings.