How do I plot the number of iterations of a function using Semilogx?
Show older comments
I have no clue how to do this
Answers (1)
Walter Roberson
on 1 Oct 2013
Edited: Walter Roberson
on 1 Oct 2013
for K = 1 : length(X)
numiters(K) = SomeFunctionToDetermineTheIters(X(K));
end
semilogx(X, numiters);
1 Comment
Kevin Junior
on 1 Oct 2013
Categories
Find more on MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!