Calculate the average value of the elements in the array
Solution Stats
Problem Comments
4 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers1757
Suggested Problems
-
114437 Solvers
-
Find the longest sequence of 1's in a binary sequence.
6698 Solvers
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15783 Solvers
-
Sum all integers from 1 to 2^n
17510 Solvers
-
5641 Solvers
More from this Author7
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
The solution for this problem doesn't make any sense!!!
The correct result is 4, not 8.
The test suite has been corrected and expanded.
Intriguing problem. Hint: To solve, you need to consider "all" the elements for the average though...