Effacer les filtres
Effacer les filtres

Can I determine iteration number which matlab executes?

1 vue (au cours des 30 derniers jours)
sermet
sermet le 26 Juin 2013
for example;
while dx~=0 dx=.............
................
end
%after the iteration I want to know how many iterations later dx is reached 0.

Réponse acceptée

Iain
Iain le 26 Juin 2013
count = 0;
while dx~=0
....
....
count = count + 1;
end

Plus de réponses (0)

Catégories

En savoir plus sur Language Fundamentals dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by