It seems easy, but...
You cannot use +, -, plus, diff, cumsum, *, prod, times, etc.
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers52
Suggested Problems
-
Find the longest sequence of 1's in a binary sequence.
6800 Solvers
-
1828 Solvers
-
596 Solvers
-
Find out missing number from a vector of 9 elements
322 Solvers
-
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
400 Solvers
More from this Author9
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!