Problem 42515. Remove All elements less than 5
Given an input vector x, remove all elements of x less than 5 .
Example:
Input x = [ 1 2 5 7 3 ] Output y is [ 5 7 ]
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers142
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15765 Solvers
-
6079 Solvers
-
625 Solvers
-
Output any real number that is neither positive nor negative
407 Solvers
-
643 Solvers
More from this Author1
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!