In MATLAB, you can use the built-in lqr
function to compute the Linear Quadratic Regulator (LQR) gain matrix. The basic syntax is K = lqr(A, B, Q, R)
, where A
is the state matrix, B
is the input matrix, Q
is the state weighting matrix, and R
is the input weighting matrix. Ensure you define these matrices appropriately based on your system dynamics before calling the function. For example:
A = [...]; % Define your A matrix
B = [...]; % Define your B matrix
Q = eye(size(A)); % State weighting
R = 1; % Input weighting
K = lqr(A, B, Q, R);
Q = 1 / Maximum value of Z permissible R = 1/ Maximum value of u permissible
R. C. H. Del Rosario has written: 'LQR control of shell vibration via piezoceramic actuators' -- subject(s): Galerkin method, Linear quadratic regulator, Vibration damping, Actuators, Feedback control, Cylindrical shells, Piezoelectric ceramics