Extracting a constant values from a 2D matrix

1 次查看(过去 30 天)
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 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