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

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Genetic Algorithm에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by