Problem 2349. Elements with highest local average
Solution Stats
Problem Comments
Solution Comments
-
3 Comments
Will fail on [0 0 0 0] or any longer vector of 0's.
I know... ;-) but it passes all the cases.
I implement this other solution before: http://www.mathworks.de/matlabcentral/cody/problems/2349-elements-with-highest-local-average/solutions/450770
Problem Recent Solvers77
Suggested Problems
-
Extract leading non-zero digit
1546 Solvers
-
6918 Solvers
-
Reverse the elements of an array
774 Solvers
-
317 Solvers
-
504 Solvers
More from this Author44
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!