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
-
Which values occur exactly three times?
5247 Solvers
-
Replace NaNs with the number that appears to its left in the row.
3069 Solvers
-
373 Solvers
-
Sum the squares of numbers from 1 to n
259 Solvers
-
1132 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!