Integer to Integer map using logical indexing
Version 1.0.0.0 (920 octets) par
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);
Citation pour cette source
Sathyanarayan Rao (2026). Integer to Integer map using logical indexing (https://fr.mathworks.com/matlabcentral/fileexchange/64282-integer-to-integer-map-using-logical-indexing), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Créé avec
R2015a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS LinuxCatégories
En savoir plus sur Numeric Types dans Help Center et MATLAB Answers
Tags
Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
| Version | Publié le | Notes de version | |
|---|---|---|---|
| 1.0.0.0 |
