Topological Data Analysis Learning Code

Version 1.3 (32.3 KB) by Adam Cutbill
This code takes a (small) set of data as an input and computes the Betti Numbers of that data.
Updated 14 Jan 2023

View License

This code was developed primarily as a learning tool for Topological Data Analysis. It was written after reading papers about the topic.
I am not an active researcher in this field, but writing the code helped me gain a brief understanding of TDA. I hope it helps others try out this really interesting topic in mathematics/data analysis. It is not intended to actually perform TDA on large datasets.
The code computes the Betti Numbers of data using a simplicial complex.

Cite As

Adam Cutbill (2024). Topological Data Analysis Learning Code (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2013b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Statistics and Machine Learning Toolbox in Help Center and MATLAB Answers

Inspired by: gplot

Community Treasure Hunt

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

Start Hunting!

Topological Data Analysis

Topological Data Analysis/AnalyzeComplex

Topological Data Analysis/CreateComplex

Topological Data Analysis/SupportFunctions

Topological Data Analysis/VRComplex

Topological Data Analysis/Visualization

Version Published Release Notes

Replacing ismember function with newer version.


-Fixed some minor mistakes in the overall description.

Requires statistics toolbox and MATLAB 2010b or newer (for pdist2). I may modify this to work on older version as pdist2 is relatively simple function.