Check if integer i is a prime number. Returns logical true '1' if it is.
Solution Stats
Solution Comments
Show comments
Loading...
Problem Recent Solvers63
Suggested Problems
-
How to find the position of an element in a vector without using the find function
2816 Solvers
-
Increment a number, given its digits
688 Solvers
-
Return unique values without sorting
1011 Solvers
-
Sum the 'edge' values of a matrix
404 Solvers
-
295 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!