Problem 42977. Prime number removal
remove all prime numbers from the input e.g.
input =
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
output =
1 4 6 8 9 10 12 14 15
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers95
Suggested Problems
-
350 Solvers
-
Back to basics 22 - Rotate a matrix
922 Solvers
-
Getting the absolute index from a matrix
251 Solvers
-
Replace multiples of 5 with NaN
454 Solvers
-
Test if a number is numeric or not
138 Solvers
More from this Author2
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!