Can I determine iteration number which matlab executes?

1 次查看(过去 30 天)
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
count = 0;
while dx~=0
....
....
count = count + 1;
end

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Language Fundamentals 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by