MATLAB Cody - MATLAB Central

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

Difficulty:Rate

Solution 11648178

Submitted on 7 Jul 2023 by Pauli Huusari
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