State space equation

2 次查看(过去 30 天)
rami
rami 2012-6-6
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

回答(1 个)

Christoph
Christoph 2012-6-6
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

类别

Help CenterFile Exchange 中查找有关 Loops and Conditional Statements 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by