Converting state space to a SINGLE column vector of ODE45 equation

1 view (last 30 days)
Hi all,
I am pretty new in the matlab world. Currently i am facing a problem of trying to convert my state space function into a single column vector (matrix) of ordinary differential equation. Is it possible??
  3 Comments
Tan Joel
Tan Joel on 11 Mar 2014
Dear Simon,
Basically i am trying to combine a state space function code with a PI controller code. However i dun seen to be able to do so. The error i gotten is
Error using odearguments (line 91) BTEST must return a column vector.
Hence i thought it is because i needed to convert the state space function into a volume vector of ODE45 question.
Is it possible to show you both of my two codes? cause i still kinda new to matlab. Need help badly.
Mischa Kim
Mischa Kim on 11 Mar 2014
Please attach your code. That makes it much easier to provide answers.

Sign in to comment.

Answers (0)

Categories

Find more on Programming in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!