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!