state space equation in simulink

Can someone please let me know how to implement the following state space equation x'' + 2x' + x = u and y = x in simulink, with condition x'(0) = 1, x(0) = 0.

Answers (1)

forget the equation y = x then you have a ODE with boundary condition problem search "how to solve differential equations using simulink" instead
actually if the equation is y = Cx + Du instead y = x the problem is still just the solving ODE problem but a little more complicated

Categories

Find more on General Applications 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!