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

1 Ansicht (letzte 30 Tage)
Kevin Junior
Kevin Junior am 1 Okt. 2013
Kommentiert: Kevin Junior am 1 Okt. 2013
I have no clue how to do this

Antworten (1)

Walter Roberson
Walter Roberson am 1 Okt. 2013
Bearbeitet: Walter Roberson am 1 Okt. 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!

Translated by