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 Comments

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

Sign in to comment.

 Accepted Answer

More Answers (0)

Categories

Community Treasure Hunt

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

Start Hunting!