primenumber
Version 1.0.0.0 (642 Bytes) by
TG
you can say a number to matlab and you see if this is a primenumber of by which it can be subdivided
first matlab looks of this number can be subdiveded by any numbers from 2 to your number. after that, it will say if it is a primenumber or not, and by which the number could be subdivided (not a quotiënt )
Cite As
TG (2025). primenumber (https://uk.mathworks.com/matlabcentral/fileexchange/61863-primenumber), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2016a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Environments 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 |
