Problem 45201. Check if integer is a prime number
Check if integer i is a prime number. Returns logical true '1' if it is.
Solution Stats
Solution Comments
Show commentsProblem Recent Solvers59
Suggested Problems
-
1157 Solvers
-
Replace multiples of 5 with NaN
438 Solvers
-
Switch matrix to a column vector
347 Solvers
-
594 Solvers
-
Replace every 3rd element in a vector with 4
247 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!