Sampling data

3 visualizzazioni (ultimi 30 giorni)
Marcel
Marcel il 12 Mar 2012
Hi,
How to select every 10th element from a vector?
Thanks.

Risposta accettata

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

Più risposte (0)

Categorie

Scopri di più su Statistics and Machine Learning Toolbox in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by