Extracting a constant values from a 2D matrix

1 回表示 (過去 30 日間)
Bhargav Boddupalli
Bhargav Boddupalli 2019 年 12 月 1 日
回答済み: Kritika Bansal 2020 年 1 月 16 日
Hi,
Is there a function which can be used to extract constant/nearest value to a particular value from a 2D?
Thanks
  2 件のコメント
darova
darova 2019 年 12 月 1 日
There is no special function for this purpose. Use abs and min
dpb
dpb 2019 年 12 月 1 日
Perhaps ismembertol might be of use...a specific example could help clarify the request.

サインインしてコメントする。

回答 (1 件)

Kritika Bansal
Kritika Bansal 2020 年 1 月 16 日
Hi,
You can check out the link below for a similar question answered using min and abs functions:

カテゴリ

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