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 Comments

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.

Sign in to comment.

Answers (1)

Tags

Asked:

on 1 Dec 2019

Answered:

on 16 Jan 2020

Community Treasure Hunt

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

Start Hunting!