how to solve the equation: Exdot=AX+Bu; with E is a singular matrix ? thank you
5 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Exdot=AX+Bu; with E is a singular matrix ?
Risposte (1)
Sam Chak
il 2 Feb 2023
Modificato: Sam Chak
il 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 Commenti
Vedere anche
Categorie
Scopri di più su Linear Algebra in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!