How to combine 2 matrices without sorting
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Bharath
am 16 Feb. 2015
Kommentiert: Image Analyst
am 16 Feb. 2015
I've 2 matrices of size 2048x1. I want to join both the matrices without sorting. I tried using reshape but it automatically is sorting my values. Can someone help with hints or suggestion on this. Thanks in advance
0 Kommentare
Akzeptierte Antwort
Image Analyst
am 16 Feb. 2015
Try
matrix2D = [vector1, vector2]; % Creates a 2048 row by 2 column matrix.
or
tallVector = [vector1; vector2]; % Creates a 4096 row by one column vector.
4 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Shifting and Sorting Matrices 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!