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 Solvers59
Suggested Problems
-
Sum of diagonal of a square matrix
1563 Solvers
-
Check if number exists in vector
11053 Solvers
-
418 Solvers
-
Add a row of zeros on top of a matrix
247 Solvers
-
Cumulative product of a vector
276 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!