Extracting a constant values from a 2D matrix

1 Ansicht (letzte 30 Tage)
Bhargav Boddupalli
Bhargav Boddupalli am 1 Dez. 2019
Beantwortet: Kritika Bansal am 16 Jan. 2020
Hi,
Is there a function which can be used to extract constant/nearest value to a particular value from a 2D?
Thanks
  2 Kommentare
darova
darova am 1 Dez. 2019
There is no special function for this purpose. Use abs and min
dpb
dpb am 1 Dez. 2019
Perhaps ismembertol might be of use...a specific example could help clarify the request.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Kritika Bansal
Kritika Bansal am 16 Jan. 2020
Hi,
You can check out the link below for a similar question answered using min and abs functions:

Kategorien

Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by