필터 지우기
필터 지우기

Creating matrix with other matrix

조회 수: 1 (최근 30일)
Kalpha.mc
Kalpha.mc 2020년 9월 20일
편집: Matt J 2020년 9월 20일
How would you create matrix using three other matrix but extracting certain columns out of each one?
a = [1 3 5 b = [2 7 9] c = [2
3 6 8 3
4 7 8] 5]
taking the 2nd & 3rd column of a then place b after then c
like [ 3 5 2 2
6 8 7 5
7 8 9 5]

채택된 답변

Matt J
Matt J 2020년 9월 20일
편집: Matt J 2020년 9월 20일
[a(:,2:3),b(:),c]

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Matrix Indexing에 대해 자세히 알아보기

태그

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by