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
19 Downloads
Updated 3 Mar 2017

View License

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 Linux
Categories
Find more on Environments in Help Center and MATLAB Answers
Tags Add Tags

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