logic(1) = -4
logic(2) = -8
logic(3) = -9
logic(4) = 4
logic(5) = 95
logic(6) = 690
Solution Stats
Solution Comments
Show comments
Loading...
Problem Recent Solvers14
Suggested Problems
-
Return the largest number that is adjacent to a zero
5551 Solvers
-
506 Solvers
-
Sum the entries of each column of a matrix which satisfy a logical condition.
176 Solvers
-
401 Solvers
-
Magic is simple (for beginners)
11939 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!