Extract only odd rows in a matrix

Hi, how would I modify the following code if I only want to extract the odd rows in the output matrix. The output is generated by ODE45 and I am referring to the third variable. I have already tried to use the matrix indexing in matlab but it's not working. How would I go about this? If my output is given as below?
m = y(:,3);

Categorías

Productos

Versión

R2019b

Etiquetas

Preguntada:

el 8 de Mzo. de 2021

Respondida:

el 8 de Mzo. de 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by