error in using for loop
Afficher commentaires plus anciens
in my code below i had used 4 for loops,but i need one for loop,
i tried using one for lop ,but my values are not correct,i get [] , please help
Réponses (1)
Walter Roberson
le 19 Jan 2012
0 votes
storedColorMap is undefined but potentially used.
It would be faster if you told us which section of that code produced the [] -- or is the [] only produced in your attempted single-loop version which you did not post?
4 commentaires
kash
le 19 Jan 2012
kash
le 19 Jan 2012
Walter Roberson
le 19 Jan 2012
Either your dirlist is empty or your image files are all empty.
Use the debugger to check that you really are executing the loop, and to check the progress of the calculations.
kash
le 19 Jan 2012
Catégories
En savoir plus sur Loops and Conditional Statements 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!