for the prime number HW
Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
Ältere Kommentare anzeigen
Hi, I am currently working on a homework assignment and on my last problem but I am having some trouble.
The question is: For the prime number: ((((Why the for loop ends on sqrt(n) and not on (n)?)))) You need to explain your answer in the class ,,You should have a full explanation.
Antworten (1)
Roger Stafford
am 1 Mär. 2016
Same answer as in
http://www.mathworks.com/matlabcentral/answers/270893
Diese Frage ist geschlossen.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!