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
-
Select every other element of a vector
36100 Solvers
-
Remove the two elements next to NaN value
703 Solvers
-
Arrange vector in ascending order
816 Solvers
-
Find the index of n in magic(n)
270 Solvers
-
730 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!