if i have matrix i want to convert it to vector?
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Firas Al-Kharabsheh
am 9 Mai 2016
Beantwortet: Fangjun Jiang
am 9 Mai 2016
if i have this matrix
A = [1 2 3
4 5 6
7 8 9]
then i change it to a vector like that
b = reshape(A',1,9);
b = [ 1 2 3 4 5 6 7 8 9]
then how can i convert b vector to A matrix ???
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Data Type Conversion 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!