Integer to Integer map using logical indexing
Version 1.0.0.0 (920 Bytes) by
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);
Cite As
Sathyanarayan Rao (2026). Integer to Integer map using logical indexing (https://nl.mathworks.com/matlabcentral/fileexchange/64282-integer-to-integer-map-using-logical-indexing), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2015a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Numeric Types in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
