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

3 ビュー (過去 30 日間)
Kevin Junior
Kevin Junior 2013 年 10 月 1 日
コメント済み: Kevin Junior 2013 年 10 月 1 日
I have no clue how to do this

回答 (1 件)

Walter Roberson
Walter Roberson 2013 年 10 月 1 日
編集済み: Walter Roberson 2013 年 10 月 1 日
for K = 1 : length(X)
numiters(K) = SomeFunctionToDetermineTheIters(X(K));
end
semilogx(X, numiters);

カテゴリ

Help Center および File ExchangeMATLAB についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by