selecting values
1 次查看(过去 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 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Type Identification 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!