Data Structures

MATLAB implementations of common data structures, including trees, hash tables, heaps, and lists
3.2K Downloads
Updated 20 Jan 2014

View License

This package contains MATALB class-based implementations of the following common data structures:

1) Arrays
2) Binary Search Trees
3) Hash Tables
4) Heaps
5) Lists
6) Queues
7) Red Black Trees
8) Stacks

The code is written in such a way that it can be easily translated into other languages. A majority of the methods are taken from the canonical algorithms text:

Introduction to Algorithms
http://mitpress.mit.edu/books/introduction-algorithms

Note: All classes inherit pass-by-reference behavior via MATLAB's handle superclass

Cite As

Brian Moore (2024). Data Structures (https://www.mathworks.com/matlabcentral/fileexchange/45123-data-structures), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Structures in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!

Data Structures/Arrays/

Data Structures/Binary Search Trees/

Data Structures/Hash Tables/

Data Structures/Heaps/

Data Structures/Lists/

Data Structures/Queues/

Data Structures/Red Black Trees/

Data Structures/Stacks/

Version Published Release Notes
1.0.0.0