Clear Filters
Clear Filters

Extracting a constant values from a 2D matrix

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

Sign in to comment.

Answers (1)

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

Categories

Find more on Matrices and Arrays in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!