How to combine two arrays
Mostrar comentarios más antiguos
Hello,
for example there are a= [3 5 1] and b = [4 6 7]
How can I combine a and b to get c= [3 4 5 6 1 7]?
Respuesta aceptada
Más respuestas (1)
zhehao.nkd
el 30 de Sept. de 2022
0 votos
Try reshape([a;b],1,[])
1 comentario
MIch
el 30 de Sept. de 2022
Categorías
Más información sobre Operators and Elementary Operations en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!