MATLAB Answers

State space equation

4 views (last 30 days)
rami
rami on 6 Jun 2012
Hi I have state space equation Xdott= (A-BK)X+BXref Where A is (3,3) matrix B(1,3), K(3,1) Xref is [3,1] How I can find X matrix as function to time or in other world find the position and speed in variable time
Thx

Answers (1)

Christoph
Christoph on 6 Jun 2012
Hi rami,
you have an ODE with states X over T. You can solve them explicit with the Lambda-e-Approach (just recollecting) or you solve it nummerically with the help of ODE-functions. For the second way use doc ode45 in the commandline and read read read ;)
good luck, CN

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!