Returning a "greater than" vector - MATLAB Cody - MATLAB Central

Problem 1919. Returning a "greater than" vector

Difficulty:Rate

Given a vector, v, return a new vector , vNew, containing only values > n.

For example:

v=[1 2 3 4 5 6]
n=3
vNew = [4 5 6]

Solution Stats

69.31% Correct | 30.69% Incorrect
Last Solution submitted on May 03, 2025

Problem Comments

Solution Comments

Show comments
PIVlab surpasses 100K all-time File Exchange downloads
During the past twelve months, PIVlab, a MATLAB Community Toolbox for particle...
4
8

Problem Recent Solvers261

Suggested Problems

More from this Author3

Problem Tags

Community Treasure Hunt

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

Start Hunting!