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 Solvers12
Suggested Problems
-
Matrix indexing with two vectors of indices
780 Solvers
-
How many trades represent all the profit?
618 Solvers
-
Who is the smartest MATLAB programmer?
792 Solvers
-
Basics: Divide integers to get integer outputs in all cases
137 Solvers
-
Flip the vector from right to left
11111 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!