Info
此问题已关闭。 请重新打开它进行编辑或回答。
How do I rearrange these matrix values?
1 次查看(过去 30 天)
显示 更早的评论
Hello.
My initial matrix I have is:
and I need to rearange it to look like this:
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!