Why Does eig() Not Throw an Error for Non-Square, Symbolic Input?
Show older comments
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 Comment
Christine Tobler
on 20 May 2021
That does seem wrong, I'll pass it along to the right team.
Accepted Answer
More Answers (0)
Categories
Find more on Work with Components 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!

