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
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers153
Suggested Problems
-
Return the 3n+1 sequence for n
8513 Solvers
-
4005 Solvers
-
Return a list sorted by number of occurrences
2895 Solvers
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
2055 Solvers
-
Return the first and last characters of a character array
12259 Solvers
More from this Author27
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!