Integer to Integer map using logical indexing
Versión 1.0.0.0 (920 Bytes) por
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);
Citar como
Sathyanarayan Rao (2024). 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. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2015a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
Más información sobre Numeric Types en Help Center y MATLAB Answers.
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.0.0 |