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

68.12% Correct | 31.88% Incorrect
Last Solution submitted on Mar 04, 2024

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers133

Suggested Problems

More from this Author1

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!