How to combine two arrays?
750 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
SUSHMA MB
am 6 Mär. 2017
Beantwortet: Opeyemi Kehinde
am 17 Dez. 2021
I have two arrays
x = 561x1 double
y = 561x1 double
How can i combine it into
z = 561x2 double
Akzeptierte Antwort
Weitere Antworten (1)
Opeyemi Kehinde
am 17 Dez. 2021
This will combine everything vertically
ba=rand(5,1);
bc=rand(5,1);
bd=cat(1,ba,bc)
and this will combine them horizontally
ba=rand(5,1);
bc=rand(5,1);
bd=cat(2,ba,bc)
0 Kommentare
Siehe auch
Kategorien
Mehr zu Matrix Indexing 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!