フィルターのクリア

How to make dictionary in Matlab

44 ビュー (過去 30 日間)
Zaheer Abbas
Zaheer Abbas 2016 年 12 月 22 日
回答済み: Mike Croucher 2022 年 9 月 15 日
I am extracting a pattern from an image. Then I want to match that pattern with my self made dictionary. My extracted pattern format is this in array data structure: {0,1,0,0,1,0} . For eg. this example array represents Alphabet "B". I want to make a dictionary from A to Z. So that, I extract pattern from image in above mentioned format and check in my dictionary.

採用された回答

Mike Croucher
Mike Croucher 2022 年 9 月 15 日
In R2022b and later, you can use the new dictionary type for this. Faster than containers.map. A tutorial-like introduction at An introduction to dictionaries (associative arrays) in MATLAB » The MATLAB Blog - MATLAB & Simulink (mathworks.com)

その他の回答 (1 件)

Walter Roberson
Walter Roberson 2016 年 12 月 22 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by