how to remove odds from a dataset
Información
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
Mostrar comentarios más antiguos
have a dataset that contains a1,a2,a3,a4,a5,b1,b2,b3,b4,b5..etc how do I delete the odds so it can only have a2, a4, b2, b4 etc...
1 comentario
Azzi Abdelmalek
el 14 de En. de 2014
Respuestas (1)
Azzi Abdelmalek
el 14 de En. de 2014
v=[1 2 3 4 5 6 7 8]
out=v(2:2:end)
La pregunta está cerrada.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!