How do I plot the number of iterations of a function using Semilogx?
1 view (last 30 days)
Show older comments
I have no clue how to do this
0 Comments
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);
See Also
Categories
Find more on 2-D and 3-D Plots 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!