Integer to Integer map using logical indexing

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 (2026). Integer to Integer map using logical indexing (https://jp.mathworks.com/matlabcentral/fileexchange/64282-integer-to-integer-map-using-logical-indexing), MATLAB Central File Exchange. に取得済み.

カテゴリ

Help Center および MATLAB AnswersNumeric Types についてさらに検索

一般的な情報

MATLAB リリースの互換性

  • すべてのリリースと互換性あり

プラットフォームの互換性

  • Windows
  • macOS
  • Linux
バージョン 公開済み リリース ノート Action
1.0.0.0