New array from several arrays
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Ismaeel
le 21 Mar 2015
Réponse apportée : Ismaeel
le 21 Mar 2015
Hi,
I have the three arrays:
[a(1) a(2) a(3)]
[b(1) b(2) b(3)]
[c(1) c(2) c(3)]
and I want to make a new array as following:
[a(1) b(1) c(1) a(2) b(2) c(2) a(3) b(3) c(3)]
I greatly appreciate any help or any idea
Thanks
1 commentaire
Réponse acceptée
Azzi Abdelmalek
le 21 Mar 2015
Modifié(e) : Azzi Abdelmalek
le 21 Mar 2015
out=[a;b;c];
out=out(:)'
0 commentaires
Voir également
Catégories
En savoir plus sur Resizing and Reshaping Matrices dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!