Can anybody help me?

[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 ?

Respuestas (1)

GEEVARGHESE TITUS
GEEVARGHESE TITUS el 8 de Abr. de 2017

0 votos

use cellfun
[n v]=cellfun(@(x) eig(x),c,'UniformOutput',false)
where c is your input cell and n and v are also cell

Categorías

Más información sobre Matrix Decomposition en Centro de ayuda y File Exchange.

Preguntada:

el 8 de Abr. de 2017

Respondida:

el 8 de Abr. de 2017

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by