Conversion of a matrix into multiple column vectors
Ältere Kommentare anzeigen
If we have a matrix A=[1 2 ; 3 4 ; 5 6] then it will be converted to vectors like x1= [1 3 5] x2= [2 4 6]
Akzeptierte Antwort
Weitere Antworten (1)
Giorgos Papakonstantinou
am 11 Mär. 2015
Bearbeitet: Giorgos Papakonstantinou
am 11 Mär. 2015
x1 = A(:,1).';
x2 = A(:,2).';
Kategorien
Mehr zu Hypothesis Tests 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!