how plotting the number of operation of this algorithm ,we use flops

function pgd = pgdd(~) n=1000; i = 2; while i<= sqrt(n) && mod(n,i)~=0 i = i+1; end if mod(n,i)~=0 pgd = mod(n,i); else pgd = n; end

回答 (0 件)

この質問は閉じられています。

質問済み:

2014 年 1 月 17 日

閉鎖済み:

2014 年 1 月 17 日

Community Treasure Hunt

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

Start Hunting!

Translated by