find value close to zero in array

5 ビュー (過去 30 日間)
y0unes
y0unes 2019 年 9 月 30 日
回答済み: Matt J 2019 年 9 月 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 Center および File ExchangeMatrices and Arrays についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by