Find Min and Max Differences in a Vector - MATLAB Cody - MATLAB Central

Problem 54975. Find Min and Max Differences in a Vector

Difficulty:Rate
Given an array of integers, return the absolute largest and smallest (non zero) difference between any two numbers in the array.

Solution Stats

48.18% Correct | 51.82% Incorrect
Last Solution submitted on Nov 14, 2024

Problem Comments

Solution Comments

Show comments
R2025a Pre-release highlights
This topic is for discussing highlights to the current R2025a Pre-release.
13
5

Problem Recent Solvers47

Suggested Problems

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Go to top of page