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

darova
darova 2019년 12월 1일
There is no special function for this purpose. Use abs and min
dpb
dpb 2019년 12월 1일
Perhaps ismembertol might be of use...a specific example could help clarify the request.

댓글을 달려면 로그인하십시오.

답변 (1개)

Kritika Bansal
Kritika Bansal 2020년 1월 16일

0 개 추천

Hi,
You can check out the link below for a similar question answered using min and abs functions:

카테고리

도움말 센터File Exchange에서 Logical에 대해 자세히 알아보기

태그

질문:

2019년 12월 1일

답변:

2020년 1월 16일

Community Treasure Hunt

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

Start Hunting!

Translated by