find value close to zero in array

5 次查看(过去 30 天)
Hey everybody,
I have an array (44x5) 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

采纳的回答

Matt J
Matt J 2019-9-30
[~,location]=min( abs( yourArray(:,3:4) ) )

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Matrices and Arrays 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by