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
-
13185 Solvers
-
1232 Solvers
-
Create a square matrix of multiples
467 Solvers
-
Sort the vector with the given index
120 Solvers
-
Change the first and last diagonal element of the identity matrix to zero
147 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!