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

1 view (last 30 days)
I have no clue how to do this

Answers (1)

Walter Roberson
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);

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!