all elements are larger than 5

a=[1 3 5 8 6];
b=[6 6 6 6 6];

function(a) should be false, and function(b) will be true.

Solution Stats

240 Solutions

151 Solvers

Last Solution submitted on Jan 23, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...

Problem Recent Solvers151

Suggested Problems

More from this Author27

Community Treasure Hunt

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

Start Hunting!