How can I skip some rows in Matlab ?

I have a huge range of data, and I want to reduce them into half. I want to know how to let Matlab read one row and delete other. So it reads in all odd rows and skip even rows.

2 comentarios

KALYAN ACHARJYA
KALYAN ACHARJYA el 3 de Mzo. de 2018
When you call in interactions of raw value you can increment it by 1 within the loop.
per isakson
per isakson el 3 de Mzo. de 2018
Editada: per isakson el 3 de Mzo. de 2018
huge compared to what? If the data fits in memory, read the entire file and delete every second row.

Iniciar sesión para comentar.

 Respuesta aceptada

Más respuestas (0)

Categorías

Preguntada:

el 3 de Mzo. de 2018

Respondida:

el 3 de Mzo. de 2018

Community Treasure Hunt

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

Start Hunting!

Translated by