MATLAB Cody - MATLAB Central

Problem 45174. Given a vector x, return vector y with all negative elements from the vector x.

Difficulty:Rate

Solution 9531923

Submitted on 22 Oct 2022 by Victoria
This solution is locked. To view this solution, you need to solve the problem first.

Suggested Problems

Community Treasure Hunt

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

Start Hunting!
Go to top of page