Extracting a constant values from a 2D matrix

1 visualización (últimos 30 días)
Bhargav Boddupalli
Bhargav Boddupalli el 1 de Dic. de 2019
Respondida: Kritika Bansal el 16 de En. de 2020
Hi,
Is there a function which can be used to extract constant/nearest value to a particular value from a 2D?
Thanks
  2 comentarios
darova
darova el 1 de Dic. de 2019
There is no special function for this purpose. Use abs and min
dpb
dpb el 1 de Dic. de 2019
Perhaps ismembertol might be of use...a specific example could help clarify the request.

Iniciar sesión para comentar.

Respuestas (1)

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

Categorías

Más información sobre Get Started with MATLAB en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by