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
-
Return the 3n+1 sequence for n
8534 Solvers
-
Getting the indices from a vector
12419 Solvers
-
Flip the vector from right to left
11440 Solvers
-
Determine if a row vector has NaN
137 Solvers
-
126 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!