How can i take selected rows from given matrix??
For instance, let A = rand(100) and i want to take 10th,20th,30th ----100th row from A
Without using 'for' ( since i have to do many times, speed is important ), deriving is possible?? Help me!

 채택된 답변

추가 답변 (1개)

Birdman
Birdman 2017년 11월 22일

1 개 추천

A(10:10:100,:)

카테고리

도움말 센터File Exchange에서 행렬과 배열에 대해 자세히 알아보기

질문:

2017년 11월 22일

댓글:

2017년 11월 22일

Community Treasure Hunt

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

Start Hunting!