Hello all,
I am very new to Mathematica and my question might seem mundane. So, please bear with me.
I am trying to extract the descriptor state-space model matrices from a set of state space equations. I have already done this.
M = StateSpaceModel[stateequations, states, vin[t], outputequations,
t]
We know that the descriptor state space is of the form:
kx’[t]=ax[t]+bu[t]*
y[t]=cx[t]+du[t]
I am trying to extract the matrices k, a, b, c, d.
I have tried
A=M[[1]]
B=M[[2]]
and so on and have been unsuccessful and have no idea how to do it.
Can anyone help me with this?
Thanks in advance!