Prime numbers

Version 1.0.0.0 (1.13 KB) by alexander
Prime number search
54 Downloads
Updated Sun, 26 Mar 2017 03:28:27 +0000

View License

searches for all primes up to input "max". I have optimized this as much as I can. Any suggestions on how to increase performance will be appreciated. Looking to get to 1B faster. estimated it would take around 2 hrs on my machine

Cite As

alexander (2024). Prime numbers (https://www.mathworks.com/matlabcentral/fileexchange/62280-prime-numbers), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0

added prime tag