Problem 43488. Print true if
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 commentsProblem Recent Solvers150
Suggested Problems
-
Replace NaNs with the number that appears to its left in the row.
3057 Solvers
-
Change the sign of even index entries of the reversed vector
625 Solvers
-
Switch matrix to a column vector
371 Solvers
-
359 Solvers
-
Matlab Basics - Pick out parts of a vector
265 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!