Check if integer i is a prime number. Returns logical true '1' if it is.
Solution Stats
Solution Comments
Show comments
Loading...
Problem Recent Solvers61
Suggested Problems
-
27573 Solvers
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15780 Solvers
-
530 Solvers
-
1909 Solvers
-
322 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!