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
-
Find the longest sequence of 1's in a binary sequence.
6797 Solvers
-
Longest run of consecutive numbers
6600 Solvers
-
368 Solvers
-
Flip the vector from right to left
11133 Solvers
-
Matlab Basics - Convert a row vector to a column vector
682 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!