Can anybody help me?
1 view (last 30 days)
Show older comments
[N,V]=eig(A), gives eigen decomposition of matrix A. How to find the eigen decomposition of all matrices in a cell of size 1x100, using a loop ?
0 Comments
Answers (1)
GEEVARGHESE TITUS
on 8 Apr 2017
use cellfun
[n v]=cellfun(@(x) eig(x),c,'UniformOutput',false)
where c is your input cell and n and v are also cell
0 Comments
See Also
Categories
Find more on Matrices and Arrays 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!