How do I plot the number of iterations of a function using Semilogx?

8 次查看(过去 30 天)
I have no clue how to do this

回答(1 个)

Walter Roberson
Walter Roberson 2013-10-1
编辑:Walter Roberson 2013-10-1
for K = 1 : length(X)
numiters(K) = SomeFunctionToDetermineTheIters(X(K));
end
semilogx(X, numiters);

类别

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

标签

Community Treasure Hunt

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

Start Hunting!

Translated by