Clear Filters
Clear Filters

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

2 views (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);

Tags

Community Treasure Hunt

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

Start Hunting!