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 Solvers61
Suggested Problems
-
Which values occur exactly three times?
5230 Solvers
-
Back to basics 22 - Rotate a matrix
929 Solvers
-
317 Solvers
-
Replace every 3rd element in a vector with 4
263 Solvers
-
Matrix of almost all zeros, except for main diagonal
189 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!