image thumbnail

Hilbert Curve

version 1.0.0.0 (1.2 KB) by Federico Forte
How to draw the famous Hilbert curve, the curve that fills an area.

6.8K Downloads

Updated 09 Apr 2004

View License

This recursive function calculates coordinates of n-th order Hilbert curve. It is then possible to plot it using the "line" command.

Cite As

Federico Forte (2021). Hilbert Curve (https://www.mathworks.com/matlabcentral/fileexchange/4646-hilbert-curve), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R10
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories

Community Treasure Hunt

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

Start Hunting!