How can I remove the ranges from a specific column vector?
Afficher commentaires plus anciens
Hello;
How can I remove the following ranges from the k column vector below:
k=[1 0 2 1 9 8 0 0 4 2 3 3 5 1 1 0 3 2].' ;
ranges to be removed from k column vector are as;
range1=k(1:4); range1=k(9:12); range1=k(13:16);
Thanks in advance!!
Réponse acceptée
Plus de réponses (1)
David Fletcher
le 28 Mar 2018
del=[1:4 9:12 13:16]
k(del)=[]
1 commentaire
Tuncay Eren
le 28 Mar 2018
Catégories
En savoir plus sur Programming dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!