Sampling data

Hi,
How to select every 10th element from a vector?
Thanks.

 采纳的回答

eg
x = randi(1000,100,1);
out = x(10:10:end)

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Electrical Block Libraries 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by