How can I merge two rows into one
51 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hi all,
Newbie question here. Let's say I have 6 variables (A-F) and values in 2 rows like this:
A B C D E F
1 2 3
4 5 6
Now I would simply like to merge them into one, like this:
A B C D E F
1 2 3 4 5 6
How would I do that? Thanks
2 comentarios
Guillaume
el 10 de Mayo de 2016
Please use valid matlab syntax for your examples rather than abstract code that does not mean anything.
Respuestas (1)
Walter Roberson
el 10 de Mayo de 2016
[A(1,:), B(1,:), C(1,:), D(2,:), E(2,:), F(2,:)]
3 comentarios
Ver también
Categorías
Más información sobre Variables en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!