Why Does eig() Not Throw an Error for Non-Square, Symbolic Input?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Paul
am 19 Mai 2021
Kommentiert: Paul
am 25 Mai 2022
Example:
M = [sym(zeros(2));sym('m',[2 2])];
M(1,1) = 1
eig(M)
But filling in the top partition of M does yield the expected result:
M(1:2,1:2) = sym('n',[2 2])
eig(M)
Bug?
1 Kommentar
Akzeptierte Antwort
Arthi Sathyamurthi
am 28 Mai 2021
This bug has been fixed and the updates will be available in the future release.
2 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Linear Algebra finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!