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
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
1992 Solvers
-
Longest run of consecutive numbers
6460 Solvers
-
Given a matrix, swap the 2nd & 3rd columns
1263 Solvers
-
Sum the numbers on the main diagonal
613 Solvers
-
530 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!