Filter löschen
Filter löschen

Can I determine iteration number which matlab executes?

1 Ansicht (letzte 30 Tage)
sermet
sermet am 26 Jun. 2013
for example;
while dx~=0 dx=.............
................
end
%after the iteration I want to know how many iterations later dx is reached 0.

Akzeptierte Antwort

Iain
Iain am 26 Jun. 2013
count = 0;
while dx~=0
....
....
count = count + 1;
end

Weitere Antworten (0)

Kategorien

Mehr zu Language Fundamentals finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by