Hi,
How can i create a control system model with feedback taken from state instead of output i.e. State Feedback?
I have 4 states, 2 inputs and 2 outputs.
- Feedback from state 2,x(2) and state 4, x(4) to be used to create input function for u(2) = fs. u(1) does not depend on state.
- I have another concern. While creating the state space model i had my input vector as a 2 X N matrix. However while using a lsim function I had to provide input in the form N X 2. Is there something deeply wrong with my approach?…
Code and document in the links below.
http://sdrv.ms/X0IJVR (Document)
http://pastebin.com/1UEgD5KU (Code)
Thanks for all the help…
Regards
Shilp
Best Answer