Borrar filtros
Borrar filtros

Can I determine iteration number which matlab executes?

1 visualización (últimos 30 días)
sermet
sermet el 26 de Jun. de 2013
for example;
while dx~=0 dx=.............
................
end
%after the iteration I want to know how many iterations later dx is reached 0.

Respuesta aceptada

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

Más respuestas (0)

Categorías

Más información sobre Language Fundamentals en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by