Taking a certain column from each cell with different size
이전 댓글 표시
Hi, I have some cells containing matrices with different size: for example a{1} : [1 2 3] a{2} : [1 2 3; 4 5 6; 6 7 8] a{3} : [1 2 3; 4 5 6; 7 8 9; 2 5 8; 4 5 6] Is there any "short way" that I can take second column of each matrix and merge them in a vector? number of cells and the size of matrices change with different input parameters.
thnx!
Chamran
채택된 답변
추가 답변 (1개)
카테고리
도움말 센터 및 File Exchange에서 Matrices and Arrays에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!