Aperiodic array generation

Version 1.3.0.0 (5.58 KB) by ben payne
Functions to create aperiodic 1D, 2D arrays from Thue-Morse, Fibonacci, Rudin-Shapiro algorithms
725 Downloads
Updated 13 Apr 2012

View License

Aperiodic 1D and 2D binary arrays from Thue-Morse, Fibonacci, Baum-Sweet, Paper-Folding (Dragon curve), and Rudin-Shapiro algorithms are generated based on user input.

Thue-Morse: g(A)=AB, g(B)=BA
Fibonacci: g(A)=AB, g(B)=A
Paper-Folding: g(AB)=AABA, g(BA)=ABBA, g(AB)=AABB, g(BB)=ABBB
Baum-Sweet: g(BB)=BBBB, g(BA)=ABBA, g(AB)=BABB, g(AA)=AABA
Rudin-Shapiro: g(A)=AC, g(B)=DC, g(C)=AB, g(D)=DB

See Macia, "The role of aperiodic order in science and technology" Rep. Prog. Phys. v69 (2006).

Cite As

ben payne (2024). Aperiodic array generation (https://www.mathworks.com/matlabcentral/fileexchange/28474-aperiodic-array-generation), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2008b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Elementary Math in Help Center and MATLAB Answers
Communities

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.3.0.0

new sequences added
functional form used with sanity checking on inputs

1.1.0.0

Improved error handling for inputs, correction to output file name.

1.0.0.0