Hello, I have matrix called A 74X2 and I need 2 Matrix B,C 74X1 each one.
How I can split matrix A to B (column 1 of A) and C (column 2 of A)?
Thank you!

 채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2016년 1월 3일
편집: Azzi Abdelmalek 2016년 1월 3일

2 개 추천

B=A(:,1)
C=A(:,2)
Read the documentation

추가 답변 (0개)

카테고리

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

태그

질문:

2016년 1월 3일

편집:

2016년 1월 3일

Community Treasure Hunt

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

Start Hunting!

Translated by