how plotting the number of operation of this algorithm ,we use flops
Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
Ältere Kommentare anzeigen
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
2 Kommentare
Antworten (0)
Diese Frage ist geschlossen.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!