Integer to Integer map using logical indexing
Versione 1.0.0.0 (920 Byte) da
Sathyanarayan Rao
Logical indexing is used to map integer from one set to another
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 (2025). Integer to Integer map using logical indexing (https://www.mathworks.com/matlabcentral/fileexchange/64282-integer-to-integer-map-using-logical-indexing), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Creato con
R2015a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxCategorie
Scopri di più su Numeric Types in Help Center e MATLAB Answers
Tag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
Versione | Pubblicato | Note della release | |
---|---|---|---|
1.0.0.0 |