selecting values
17 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
i have 1000 values,i want to select 300 first 300 values in it and display please help
0 commentaires
Réponse acceptée
Andrei Bobrov
le 29 Déc 2011
A - your array with size 1000x1, e.g.:
A = randi(125,1000,1);
out = A(1:300)
fprintf('%d\n',out)
2 commentaires
Walter Roberson
le 29 Déc 2011
The number of images so far within the loop is k, and the number of total images is length(files)
Plus de réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!