How can i choose certain rows from a matrix?

조회 수: 1 (최근 30일)
arkedia
arkedia 2013년 3월 1일
i have a matrix (resulted from simulation) it contains 10000 row i want to make a new matrix from this matrix it contains only 1000 row (row number 10; row number 20; row number 30, ...., row number 10000). how can i choose these rows?

채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2013년 3월 1일
편집: Azzi Abdelmalek 2013년 3월 1일
A=rand(10000,3)
out=A(10:10:10000,:)

추가 답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by