'How can I extract state space (i.e., A, B, C, D) from these equations in Matlab?

I have two equations that have interaction together.

How can I extract state space (i.e., A, B, C, D) from these equations in Matlab?

enter image description here



Solution 1:[1]

Maybe you can call them using this SS:

    sys = ss(A,B,C,D)

Have a look here: https://au.mathworks.com/help/control/ref/ss.html#mw_83cb08e5-166f-475f-8c37-3672022583e5

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Naif Alsalem