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
-
Set the array elements whose value is 13 to 0
1460 Solvers
-
401 Solvers
-
Given a matrix, swap the 2nd & 3rd columns
1285 Solvers
-
179 Solvers
-
Sum the 'edge' values of a matrix
416 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!