CooLDuDe Posted May 1, 2009 Report Share Posted May 1, 2009 hi friends, i want states (xdot) from the state space[xdot=Ax+Bu], i check the options but i didnt find, Is there any options to get direct states from the statespace or do u hav to do some things........ pz explain briefly, thanks Quote Link to comment
Cmal Posted May 1, 2009 Report Share Posted May 1, 2009 QUOTE (CooLDuDe @ Apr 30 2009, 08:02 AM) hi friends,i want states (xdot) from the state space[xdot=Ax+Bu], i check the options but i didnt find, Is there any options to get direct states from the statespace or do u hav to do some things........ pz explain briefly, thanks CooLDuDe, I assume that you are using the Control Design and Simulation Module, and you are implementing a state space model in a Simulation Loop (If you aren't, please attach an example of what you are trying to do). The 'State-Space' Simulation block returns both the 'output' (y) and the 'state' (x). So you should be able to simply use the 'state x(k)' terminal. You mentioned that you want to obtain xdot. Note that this is the derivative of the states vector (x), so you would need to use a derivative block to get xdot. Chris M Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.