choose elements from a array with condition

조회 수: 1 (최근 30일)
NIKHIL VALSAN KULANGARETH
NIKHIL VALSAN KULANGARETH 2018년 3월 19일
답변: David Fletcher 2018년 3월 19일
I have a row matrix of dimension1x1000 . I need another row matrix consisting of every 10th element of the above matrix so that the dimension now is 1x100. What to be done in this context?

답변 (1개)

David Fletcher
David Fletcher 2018년 3월 19일
extract=rowMatrix(10:10:1000)

카테고리

Help CenterFile Exchange에서 Structures에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by