Check if integer i is a prime number. Returns logical true '1' if it is.
Solution Stats
Solution Comments
Show comments
Loading...
Problem Recent Solvers67
Suggested Problems
-
Flip the main diagonal of a matrix
929 Solvers
-
Longest run of consecutive numbers
6857 Solvers
-
Rounding off numbers to n decimals
5886 Solvers
-
6008 Solvers
-
7555 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!