Adding array to the end of another array
72 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I want to insert a array elements to the end of another array. for example
a=[ 1 2 3 4] and b =[ 5 6 7 8], so i need to insert the 'b' elements to the end of array of 'a'. so the output would be a=[1 2 3 4 5 6 7 8]
please help me with a function that can do this
0 commentaires
Réponses (1)
Bruno Luong
le 20 Avr 2022
Modifié(e) : Bruno Luong
le 20 Avr 2022
a=[ 1 2 3 4]; b=[ 5 6 7 8];
a = [a b]
0 commentaires
Voir également
Catégories
En savoir plus sur Operators and Elementary Operations 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!