MATLAB: Find value close to zero in array

arraymatrix array

Hey everybody,
I have an array (44×5) with number between -85.95 and 85.95, and I would like to find the value which is close to Zero in the columns 3 & 4

Best Answer

[~,location]=min( abs( yourArray(:,3:4) ) )