how to solve the equation: Exdot=AX+Bu; with E is a singular matrix ? thank you
3 views (last 30 days)
Show older comments
Exdot=AX+Bu; with E is a singular matrix ?
Answers (1)
Sam Chak
on 2 Feb 2023
Edited: Sam Chak
on 2 Feb 2023
Hi @khawla mrad
If your system
is linear, then try using dss() command. See example below:

If the system are nonlinear, then you need to specify 'MassSingular' and 'maybe', or 'yes' in the odeset().
A = [0 1; -1 -2]
B = [0; 1]
C = [1 0]
D = 0;
E = [2 4; 4 8]
rank(E) % Rank of matrix E is less than 2
inv(E)
% Descriptor state-space system
sys = dss(A, B, C, D, E)
% Step Response
step(sys)
2 Comments
See Also
Categories
Find more on Sparse Matrices 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!