Check if integer i is a prime number. Returns logical true '1' if it is.
Solution Stats
Solution Comments
Show comments
Loading...
Problem Recent Solvers64
Suggested Problems
-
Return unique values without sorting
1019 Solvers
-
We love vectorized solutions. Problem 1 : remove the row average.
894 Solvers
-
Magic is simple (for beginners)
11588 Solvers
-
5886 Solvers
-
Flip the vector from right to left
11238 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!