How can I convert a n*m matrix with its typical form to a linear form of 1*(n*m) one with comma between all elements and semicolon after each row is finished?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
assume that i have a matrix A that
A= [1 2 3
4 5 6
7 8 9]
i want to reach matrix B in the way below:
B= [1,2,3;4,5,6;7,8,9]
so I want to know that is it possible in matlab by any function ?
3 Kommentare
Antworten (2)
Siehe auch
Kategorien
Mehr zu Matrices and Arrays finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!