Find a number which has maximum distance from the mean value of vector A.
Example:
A=[5 2 1 5 6 2 5 9]
y=9
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers60
Suggested Problems
-
Find the sum of all the numbers of the input vector
55432 Solvers
-
30850 Solvers
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15819 Solvers
-
531 Solvers
-
1156 Solvers
More from this Author18
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!