Consciousness Videos

State Space Modeling in MATLAB and Simulink



APMonitor.com

Simple tutorial on working with continuous and discrete dynamic models in MATLAB and Simulink. In this case, we are using a first order linear system ( tau * d(x)/d(t) = -x + K * u) and solve it in 3 different forms including continuous state space, discrete state space, and Laplace domain.

Source

Similar Posts

8 thoughts on “State Space Modeling in MATLAB and Simulink
  1. Uhh thats not a state space model in simulink. That might be an equivalent to a state space, but thats not the state space modelling block interface there 4:02

  2. Heloo, i have some questions to ask
    i have a state space,
    dx/dt = Ax(t) + Bu(t)
    y = C x(t) + D u(t)
    i know all the values and the size of the matrix's

    A is a (6*6)matrix
    B is a (6*1)matrix
    C is a (6*6) matrix
    D is a (6*1) mtrix

    i need to input a signal in my state space system, the signal is a vector (6000*2),
    in the first column i have the time and the second column i have the acelerations

    Ts is my simple time Ts = 0.02
    the interval of the integration is 0 to 120 [0 120]

    so if i put in matlab –> sys = ss(A,B,C,D,Ts )
    how can i input my signal and how can a solve it whit the ODE45 ?

    THANKS

  3. how to do it in simulink, I have a differential equation with alpha and theta in it , how do I make a transfer function.
    how to write code the matlab function block , how to give multiple inputs and multiple outputs

Comments are closed.

WP2Social Auto Publish Powered By : XYZScripts.com