Extracting a constant values from a 2D matrix

1 vue (au cours des 30 derniers jours)
Bhargav Boddupalli
Bhargav Boddupalli le 1 Déc 2019
Hi,
Is there a function which can be used to extract constant/nearest value to a particular value from a 2D?
Thanks
  2 commentaires
darova
darova le 1 Déc 2019
There is no special function for this purpose. Use abs and min
dpb
dpb le 1 Déc 2019
Perhaps ismembertol might be of use...a specific example could help clarify the request.

Connectez-vous pour commenter.

Réponses (1)

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

Catégories

En savoir plus sur Get Started with MATLAB dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by