Computer Science, asked by pranavnair12, 9 months ago

difference between maximum and minimum element in a matrix for MATLAB

Answers

Answered by mahi577
1

Explanation:

The smallest possible value of max(A) is max(A) – K, as the value max(A) cannot go lower. Similarly, the largest possible value of min(A) is min(A) + K. So the quantity max(A) – min(A) is at least ans = (max(A) – K) – (min(A) + K).

Similar questions