Combining two vectors in a pattern
Mostrar comentarios más antiguos
Is there a way to combine two vector let's say
a=[1,2,3,4,5,6,7,8,9]
b=[10,20,30,40];
the resulting vector would be
result=[1,2,3,10,20,4,5,6,30,40,7,8,9];
Is it possible to do this without loops
Thanks
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Resizing and Reshaping Matrices 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!