Sampling data

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 Vehicle Dynamics Blockset 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!