Print true if - MATLAB Cody - MATLAB Central

Problem 43488. Print true if

Difficulty:Rate

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

62.87% Correct | 37.13% Incorrect
Last Solution submitted on Dec 11, 2024

Problem Comments

Solution Comments

Show comments
Primes and Rough Numbers, Basic ideas
What is a rough number? What can they be used...
2
4

Problem Recent Solvers148

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!
Go to top of page