Check if integer i is a prime number. Returns logical true '1' if it is.
Solution Stats
Solution Comments
Show comments
Loading...
Problem Recent Solvers66
Suggested Problems
-
Find the longest sequence of 1's in a binary sequence.
6850 Solvers
-
Back to basics 6 - Column Vector
1114 Solvers
-
514 Solvers
-
Create an index-powered vector
967 Solvers
-
804 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!