Info
この質問は閉じられています。 編集または回答するには再度開いてください。
How do I rearrange these matrix values?
1 回表示 (過去 30 日間)
古いコメントを表示
Hello.
My initial matrix I have is:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/284259/image.png)
and I need to rearange it to look like this:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/284260/image.png)
how would I go about coding this? Thank you.
0 件のコメント
回答 (2 件)
Jamal Nasir
2020 年 4 月 14 日
%%%% if your initial matrix is a the matrix c is the result
b=a'
c=reshape(b,4,3)
0 件のコメント
この質問は閉じられています。
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!