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 Commenti

There is no special function for this purpose. Use abs and min
Perhaps ismembertol might be of use...a specific example could help clarify the request.

Accedi per commentare.

Risposte (1)

Tag

Risposto:

il 16 Gen 2020

Community Treasure Hunt

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

Start Hunting!

Translated by