You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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 (2026). Prime numbers (https://www.mathworks.com/matlabcentral/fileexchange/62280-prime-numbers), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0.0 (1.13 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 | added prime tag |
