Integer to Integer map using logical indexing
バージョン 1.0.0.0 (920 Bytes) 作成者:
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);
引用
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. 取得済み .
MATLAB リリースの互換性
作成:
R2015a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linuxカテゴリ
Help Center および MATLAB Answers で Numeric Types についてさらに検索
タグ
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!バージョン | 公開済み | リリース ノート | |
---|---|---|---|
1.0.0.0 |