Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

how to create a matrix from another

조회 수: 1 (최근 30일)
Kalpha.mc
Kalpha.mc 2020년 9월 20일
마감: MATLAB Answer Bot 2021년 8월 20일
How would i create a matrix that is the last column and the 2nd and 4th row of matrix x?

답변 (2개)

Ameer Hamza
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.

Bruno Luong
Bruno Luong 2020년 9월 20일

태그

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by