Can I determine iteration number which matlab executes?

for example;
while dx~=0 dx=.............
................
end
%after the iteration I want to know how many iterations later dx is reached 0.

 採用された回答

Iain
Iain 2013 年 6 月 26 日

1 投票

count = 0;
while dx~=0
....
....
count = count + 1;
end

その他の回答 (0 件)

タグ

質問済み:

2013 年 6 月 26 日

Community Treasure Hunt

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

Start Hunting!

Translated by