findnearest.m

Find the nearest value in an array to a test value.

Al momento, stai seguendo questo contributo

Find the index or subscripts of the nearest value in an array to a test value. A bias argument can be included to only return values greater or less than the search value.

Cita come

Thomas Benson (2026). findnearest.m (https://it.mathworks.com/matlabcentral/fileexchange/2838-findnearest-m), MATLAB Central File Exchange. Recuperato .

Informazioni generali

Compatibilità della release di MATLAB

  • Compatibile con qualsiasi release

Compatibilità della piattaforma

  • Windows
  • macOS
  • Linux
Versione Pubblicato Note della release Action
1.0.0.0

Improved to optionally include the found nearest value as a third output argument (V).