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 Solvers96
Suggested Problems
-
Which values occur exactly three times?
5233 Solvers
-
Compute a dot product of two vectors x and y
1046 Solvers
-
Magic is simple (for beginners)
11054 Solvers
-
Determine the length of a string of characters
265 Solvers
-
Remove All elements less than 5
142 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!