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
-
1769 Solvers
-
Number of 1s in a binary string
11477 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
14213 Solvers
-
2331 Solvers
-
Given a square and a circle, please decide whether the square covers more area.
1864 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!