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

답변 (1개)

GEEVARGHESE TITUS
GEEVARGHESE TITUS 2017년 4월 8일

0 개 추천

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

카테고리

도움말 센터File Exchange에서 Matrix Decomposition에 대해 자세히 알아보기

질문:

2017년 4월 8일

답변:

2017년 4월 8일

Community Treasure Hunt

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

Start Hunting!

Translated by