how to prevent displaying intermediate values of arrays inside a loop???

2 ビュー (過去 30 日間)
swathi
swathi 2013 年 12 月 17 日
コメント済み: swathi 2013 年 12 月 17 日
in my DCT based face recognition, i m reading training images one by one using loop n calulating DCT for those images inside same loop... prob is wen i run this, it displays all calulated dct matrices for all trqaining images,,, which takes lot of time,,, how can i prevent it???

採用された回答

Walter Roberson
Walter Roberson 2013 年 12 月 17 日
If you have any lines in the loop that do calculations and do not end in semi-colons, then add a semi-colon to the end of the line.
If you have any lines in the loop that use disp() or fprintf(), then comment those out.
  1 件のコメント
swathi
swathi 2013 年 12 月 17 日
no disp() or fprintf() statements,, ok i ll try by ending lines with semicolons. thank u..

サインインしてコメントする。

その他の回答 (0 件)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by