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
-
Project Euler: Problem 6, Natural numbers, squares and sums.
2573 Solvers
-
Project Euler: Problem 10, Sum of Primes
2122 Solvers
-
18565 Solvers
-
07 - Common functions and indexing 3
427 Solvers
-
Double all elements in the array
2364 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!