Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
How do I rearrange these matrix values?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (2)
Jamal Nasir
am 14 Apr. 2020
%%%% if your initial matrix is a the matrix c is the result
b=a'
c=reshape(b,4,3)
0 Kommentare
Diese Frage ist geschlossen.
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!