Problem 45201. Check if integer is a prime number
Check if integer i is a prime number. Returns logical true '1' if it is.
Solution Stats
Solution Comments
Show commentsProblem Recent Solvers60
Suggested Problems
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
1822 Solvers
-
07 - Common functions and indexing 4
409 Solvers
-
710 Solvers
-
Rounding off numbers to n decimals
4511 Solvers
-
Find Out sum of principal diagonal element of given matrix
246 Solvers
More from this Author5
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!