Jump to content

want states from statespace


Recommended Posts

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

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.