Suppose i have a matrix:
z=[1;2;3;4;5;6;1;9;10;32;21]
from the above matrix how can i select first 7 sample? Please help....

 채택된 답변

추가 답변 (1개)

Benjamin Avants
Benjamin Avants 2014년 5월 13일

0 개 추천

samples = z(1:7)

카테고리

도움말 센터File Exchange에서 Resizing and Reshaping Matrices에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

질문:

2014년 5월 13일

편집:

2014년 5월 13일

Community Treasure Hunt

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

Start Hunting!

Translated by