selecting values
조회 수: 18 (최근 30일)
이전 댓글 표시
i have 1000 values,i want to select 300 first 300 values in it and display please help
댓글 수: 0
채택된 답변
Andrei Bobrov
2011년 12월 29일
A - your array with size 1000x1, e.g.:
A = randi(125,1000,1);
out = A(1:300)
fprintf('%d\n',out)
댓글 수: 2
Walter Roberson
2011년 12월 29일
The number of images so far within the loop is k, and the number of total images is length(files)
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!