Rank: 5064 based on 16 downloads (last 30 days) and 1 file submitted
photo

Matthew Krauski

E-mail
Company/University
CNLM, UC Irvine

Personal Profile:

 

Watch this Author's files

 

Files Posted by Matthew Krauski
Updated   File Tags Downloads
(last 30 days)
Comments Rating
14 Dec 2004 Simle Hashtable Simple hashtable class. Author: Matthew Krauski structures, cell arrays, hashtable, hash, data structure 16 11
  • 3.71429
3.7 | 7 ratings
Comments and Ratings on Matthew Krauski's Files View all
Updated File Comment by Comments Rating
06 Oct 2011 Simle Hashtable Simple hashtable class. Author: Matthew Krauski Erik

I believe containers.Map uses a binary tree structure and therefore is log(n) as opposed to O(1).

26 Sep 2011 Simle Hashtable Simple hashtable class. Author: Matthew Krauski Abhinav Gaur

I agree with Shawn

23 Mar 2011 Simle Hashtable Simple hashtable class. Author: Matthew Krauski Shawn Hershey

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".

22 Nov 2010 Simle Hashtable Simple hashtable class. Author: Matthew Krauski Scott

Its much faster to use the hash table class of java

16 Sep 2008 Simle Hashtable Simple hashtable class. Author: Matthew Krauski

One could also use the Hashtable class of Java, e.g.,

ht = java.util.Hashtable;
ht.put('key1',[1 2 3]);
ht.get('key')
ht.containsKey('key')

Contact us