Extracting a constant values from a 2D matrix

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)

Catégories

En savoir plus sur MATLAB dans Centre d'aide 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