Added a few comments to enhance understanding

This commit is contained in:
2018-09-26 11:17:57 -04:00
parent 2468bd4f80
commit c49d8a71ab
2 changed files with 3 additions and 0 deletions

View File

@@ -5,6 +5,8 @@
%Setup the variables
counter = 1000;
primeList = [];
%Cycle through the prime numbers until you get the correct number
while(size(primeList)(2) < 10001)
primeList = primes(counter);
counter += 1000;