Method to find prime numbers
Version 1.0.0.0 (49.1 KB) by
Gabriel Kasser
The goal is to present an algorithm that provides the prime numbers
in an extremely simple way
This is a very simple method to find prime numbers. I use a mathematical function to find non prime numbers. Thus I have compared its efficiency with a code found on Matlab Central, Written by John D'Errico.
Cite As
Gabriel Kasser (2024). Method to find prime numbers (https://www.mathworks.com/matlabcentral/fileexchange/33386-method-to-find-prime-numbers), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2008a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Discrete Math in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |