How can I skip some rows in Matlab ?
Show older comments
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
KALYAN ACHARJYA
on 3 Mar 2018
When you call in interactions of raw value you can increment it by 1 within the loop.
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.
Accepted Answer
More Answers (0)
Categories
Find more on Tables in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!