Rearranging and printing matrices
Ältere Kommentare anzeigen
Hello! I'm stuck on a problem that I thought would be really simple. I have a matrix A =
8 1 6
3 5 7
4 9 2
and would like it to be reprinted as:
1 1 8
1 2 3
1 3 4
2 1 1
2 2 5
2 3 9
3 1 6
3 2 7
3 3 2
with a single space between each number. Regardless of what I've tried I can't get it to print the way I would like. Any ideas? Thanks in advance!
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Creating and Concatenating Matrices finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!