How can I remove the ranges from a specific column vector?
Mostrar comentarios más antiguos
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!!
Respuesta aceptada
Más respuestas (1)
David Fletcher
el 28 de Mzo. de 2018
del=[1:4 9:12 13:16]
k(del)=[]
1 comentario
Tuncay Eren
el 28 de Mzo. de 2018
Categorías
Más información sobre Entering Commands en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!