Extracting a constant values from a 2D matrix

1 visualizzazione (ultimi 30 giorni)
Hi,
Is there a function which can be used to extract constant/nearest value to a particular value from a 2D?
Thanks
  2 Commenti
darova
darova il 1 Dic 2019
There is no special function for this purpose. Use abs and min
dpb
dpb il 1 Dic 2019
Perhaps ismembertol might be of use...a specific example could help clarify the request.

Accedi per commentare.

Risposte (1)

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

Categorie

Scopri di più su Get Started with MATLAB in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by