Calculate the average value of the elements in the array
Solution Stats
Problem Comments
4 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers1854
Suggested Problems
-
3095 Solvers
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
2070 Solvers
-
1750 Solvers
-
Flip the main diagonal of a matrix
927 Solvers
-
Rounding off numbers to n decimals
5812 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...