error in using for loop
3 ビュー (過去 30 日間)
古いコメントを表示
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
0 件のコメント
回答 (1 件)
Walter Roberson
2012 年 1 月 19 日
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 件のコメント
Walter Roberson
2012 年 1 月 19 日
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.
参考
カテゴリ
Help Center および File Exchange で Loops and Conditional Statements についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!