How do i randomly show the pictures i have in my array?
Afficher commentaires plus anciens
this is my code:
folder = 'F:\school\matlab\project\pictures\pictures alone'
filePattern = fullfile(folder, 'apple.jpg','condor.jpg','elephant.jpg',...
'Koala.jpg','orange.jpg','whale.jpg','Penguins.jpg');
i would like to use imshow() to show the pictures but i want it to show random pictures from the filePattern i declared above... can anyone please help me with this?
i am using matlab R2013a
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Matrix Indexing dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!