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 Solvers58
Suggested Problems
-
Number of 1s in a binary string
10999 Solvers
-
Set some matrix elements to zero
624 Solvers
-
1487 Solvers
-
Sum the elements in either diagonal of a square matrix
221 Solvers
-
Calculate mean value of any pair in a vector.
59 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!