Watch this Author's files
I've been having trouble finding MATLAB built-in support for hash tables and a coworker recently pointed me to this:
http://www.mathworks.com/help/techdoc/matlab_prog/brqqo5e-1.html
which describes MATLAB's containers.Map data structure.
I can't see anything in the documentation that describes the underlying data structures but tests seem to imply O(1) insertion and lookup.
I wanted to mention that here since this page is currently the second hit for the Google search "MATLAB hashtable".
I've been having trouble findint MATLAB built-in support for hash tables and a coworker recently pointed me to this:
I wanted to mention that here since this page is currently the first hit for the Google search "MATLAB hashtable".
Contact us