Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
Mathematics
General TopicsResearchOperations ResearchStatisticsMathematical LogicNumerical AnalysisUndergraduate MathAlgebra HelpRecreational Math
Math Software
MapleMathematicaMATLABScilabSASSPSS

Math Forum / Math Software / MATLAB / July 2008



Tip: Looking for answers? Try searching our database.

state space form solver using ode45

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ulrich - 22 Jul 2008 12:24 GMT
.. 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
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2010 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.