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 comments
Loading...
Problem Recent Solvers145
Suggested Problems
-
Remove any row in which a NaN appears
8791 Solvers
-
6719 Solvers
-
We love vectorized solutions. Problem 1 : remove the row average.
896 Solvers
-
Cumulative product of a vector
302 Solvers
-
204 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!