.. the following scenario
I have a transfer function in s-space like H(s)=N(s)/D(s).
Using the function tf2ss provides me a transfer function in
state space form commonly written as:
dxdt=A x(t) +B u(t)
y(t)= C x(t) + D u(t)
My question is: How can this be solved using the ode45
solver algorithm by applying u(t) and searching for y(t).
please provide full matlab code as answer
Titus - 22 Jul 2008 12:31 GMT
> .. the following scenario
>
[quoted text clipped - 9 lines]
>
> please provide full matlab code as answer
Hi,
although disregarding the last line:
1) solve for x using the first equation and ode45
2) compute y afterwards using the solution from 1)
Titus