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

 채택된 답변

Andrei Bobrov
Andrei Bobrov 2012년 3월 12일

1 개 추천

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Electrical Block Libraries에 대해 자세히 알아보기

질문:

2012년 3월 12일

Community Treasure Hunt

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

Start Hunting!

Translated by