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
-
Calculate the area of a triangle between three points
3430 Solvers
-
Change the sign of even index entries of the reversed vector
647 Solvers
-
Determine the number of odd integers in a vector
828 Solvers
-
578 Solvers
-
1036 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!