How to change element position in matrix?
14 ビュー (過去 30 日間)
古いコメントを表示
I am having 7*1 matrix. Now i need to generate a output matrix whose first element will be second element of matrix A and first element of matrix A will be considered as last element in output matrix.
For example:
A=[1;1;0;0;1;0;1]
Expected output:
B=[1;0;0;1;0;1;1]
0 件のコメント
採用された回答
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Matrices and Arrays についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!