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

241 Solutions

152 Solvers

Last Solution submitted on Feb 09, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...

Problem Recent Solvers152

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!