How to extract a matrix from a series matrix in matlab?
조회 수: 1 (최근 30일)
이전 댓글 표시
How to extract a matrix from a series matrix in matlab? I mean
F_1,F_2,F_3 and F_4 are all 4*4 square matrix,now i want to extract F_2 from the F_K,what is the code should i write? F_K(2)?
F_K=[F_1 F_2 F_3 F_4];
댓글 수: 0
채택된 답변
madhan ravi
2019년 2월 9일
Store it as a cell array:
F_K={F_1 F_2 F_3 F_4};
% ^---------------^---- note the brackets
F_K{2}
댓글 수: 1
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Matrix Indexing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!