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 Solvers135
Suggested Problems
-
Make the vector [1 2 3 4 5 6 7 8 9 10]
48168 Solvers
-
Back to basics 6 - Column Vector
1052 Solvers
-
762 Solvers
-
609 Solvers
-
Matlab Basics II - Determine if an array has a 3rd dimension
145 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!