Skip to content
Snippets Groups Projects
Commit bf880f02 authored by Venkatraman Renganathan's avatar Venkatraman Renganathan
Browse files

Upload New File

parent 79227c62
Branches
No related tags found
No related merge requests found
function diff = CheckRiccatiSolution(A, B, Q, R, P)
% CheckRiccatiSolution checks if P is solution to idare
diff = A'*P*A + Q - A'*P*B*inv(R + B'*P*B)*B'*P*A - P;
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment