Extracting a constant values from a 2D matrix

조회 수: 1 (최근 30일)
Bhargav Boddupalli
Bhargav Boddupalli 2019년 12월 1일
답변: Kritika Bansal 2020년 1월 16일
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일
Hi,
You can check out the link below for a similar question answered using min and abs functions:

카테고리

Help CenterFile Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by