Integer to Integer map using logical indexing

Logical indexing is used to map integer from one set to another

Al momento, stai seguendo questo contributo

Given two sets of integer, integer is mapped from one set to another. The author acknowledges Stephen Cobeldick
for his suggestion on using ismember to perform same task
[~,idx] = ismember(A,map2);
B = map1(idx);

Cita come

Sathyanarayan Rao (2026). Integer to Integer map using logical indexing (https://it.mathworks.com/matlabcentral/fileexchange/64282-integer-to-integer-map-using-logical-indexing), 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