Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
how to create a matrix from another
조회 수: 1 (최근 30일)
이전 댓글 표시
How would i create a matrix that is the last column and the 2nd and 4th row of matrix x?
댓글 수: 0
답변 (2개)
Ameer Hamza
2020년 9월 20일
편집: Ameer Hamza
2020년 9월 20일
M = x(:, [end 2 4])
This is pretty basic stuff in MATLAB and you have other similar questions too. I ssuggest you to read about array indexing: https://www.mathworks.com/help/matlab/math/array-indexing.html.
댓글 수: 0
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!