i am trying to use LQR controller i simulate my system and have my A and B matrix ,, used theme in m-file and use the lqr function to control this system,,, is there any way to k…
Ask an expert. Trust the answer.
Academic and engineering questions answered by verified MATLAB professionals.
i am trying to use LQR controller i simulate my system and have my A and B matrix ,, used theme in m-file and use the lqr function to control this system,,, is there any way to k…
The following lines of code reproduce the problem: % % rlocus(tf([0 0.21502754557159 -1.05214115726566 2.05983895370513 -2.01687625836747 0.98766449211981 -0.19351354903461], [1 -6…
how to convert state-space model (mimo) to transfer function matrix…
Im trying solve an equation in form of a state space model with Eulers (forward) method. My input u is a vector of accelerations that I have given on discrete points (ax). As outpu…
I've modelled a system in simulink and used operspec and linearise to extract a state space system. While the activity has worked well, I have a downstream process which requires t…
given below is a part of the code i am writing for kalman filter but got error while converting from .m to .c/.c++ white_gauss=wgn(1,37000,20); q1=cov(white_gauss); q2=cov(white…
Hi Guys, I have tried contacting sales but it looks like they don't answer questions about Student or Home edition! I am looking to get MatLab as a home user in order to learn MatL…
I write this simple code in a loop, and I obtain unwabted imaginary results. Could you please tell me where my mistake is: SO = 0.5 .* ones(10,1); A(1,:) = 5.02 * (16.6 / 42) ^ …
Hello everyone, I'm making a project with Raspberry pi and Matlab , I successfully to generate the code to Raspberry Pi and make it run standalone. Now I want this application can …
why I'd get this error: The left-hand side has been constrained to be non-complex, but the right-hand side is complex. To correct this problem, make the right-hand side real using …