How to modify the matrix - rows and columns?

조회 수: 12 (최근 30일)
Ahmed
Ahmed 2024년 2월 3일
댓글: Ahmed 2024년 2월 3일
Hi,
I have a matrix A = 26332*3 and want extract data to make three new matrices e.g., A1 = 116 * 227 (from first column), A2 = A1 = 116 * 227 (from middle column) and A3 = 116 * 227 (last coumn). How can I do it?

채택된 답변

Torsten
Torsten 2024년 2월 3일
A1 = reshape(A(:,1),116,227)
A2 = reshape(A(:,2),116,227)
A3 = reshape(A(:,3),116,227)

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Matrices and Arrays에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by