フィルターのクリア

faire le plot du nombre du boucle pour n assez grand ,le plot pour le nombre d'operation,le plot du temp d'execution

1 回表示 (過去 30 日間)
function i = pdga(n)
factors = factor(n);
if length(factors) == 1
i = 1;
else
i = prod(factors(2:end));
end
end
  2 件のコメント
Walter Roberson
Walter Roberson 2013 年 11 月 8 日
Approximate translation:
Make the plot of the number of loop for n large enough, and the plot for the number of operation, and the plot of execution time
Walter Roberson
Walter Roberson 2013 年 11 月 8 日
That looks suspiciously like my code...

サインインしてコメントする。

回答 (0 件)

カテゴリ

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

製品

Community Treasure Hunt

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

Start Hunting!

Translated by