how to append 1 array with half the elements of second array?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Ashutosh Atre
le 6 Sep 2015
Réponse apportée : Walter Roberson
le 6 Sep 2015
I have 2 arrays Arr1=[2 3 4 5] and arr2=[6 7 8 9 10 12] with C=number of elements in arr2 (here, it is 6). So, I want to append array1 with half the elements of array2 e.g arr1=arr1+arr2[C/2]?
0 commentaires
Réponse acceptée
Plus de réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!