Given an array of integers, return the absolute largest and smallest (non zero) difference between any two numbers in the array.
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers51
Suggested Problems
-
Back to basics 21 - Matrix replicating
1823 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
14321 Solvers
-
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
405 Solvers
-
376 Solvers
-
178 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!