Clear Filters
Clear Filters

Sampling data

2 views (last 30 days)
Marcel
Marcel on 12 Mar 2012
Hi,
How to select every 10th element from a vector?
Thanks.

Accepted Answer

Andrei Bobrov
Andrei Bobrov on 12 Mar 2012
eg
x = randi(1000,100,1);
out = x(10:10:end)

More Answers (0)

Categories

Find more on Statistics and Machine Learning Toolbox 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!