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
-
Compute a dot product of two vectors x and y
977 Solvers
-
Calculate the area of a triangle between three points
2838 Solvers
-
Generate a random matrix A of (1,-1)
306 Solvers
-
714 Solvers
-
If you have matrix A, create matrix B using matrix A as an "element"
115 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!