Data Sampling with spacing

4 views (last 30 days)
Anas
Anas on 10 Oct 2013
Answered: Walter Roberson on 10 Oct 2013
Hi All
I loaded an Excel table and assigned each column to an array. What i need to do now is to rearrange each array to read only a specific data from each array with a step of 10. So let'S say i assigned the first column with the array "C", which now has a 100 values. Now i need to reassign values for "C" so it will begin with the first value and end with the 100th value with a step of 10 which will give "C" a total of 10 values.
It seems easy but i couldn't find the right terminology for that.

Accepted Answer

Walter Roberson
Walter Roberson on 10 Oct 2013
C(1:10:end)

More Answers (0)

Community Treasure Hunt

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

Start Hunting!