In MATLAB, dictionaries are implemented using containers.Map. To create a dictionary with an array as value, you can follow these steps:
main.m71 chars3 lines
main.m42 chars2 lines
main.m19 chars2 lines
This will output:
main.m22 chars3 lines
You can also add new key-value pairs to the dictionary using the same syntax:
main.m33 chars2 lines
gistlibby LogSnag