Aperiodic array generation
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 (2026). Aperiodic array generation (https://in.mathworks.com/matlabcentral/fileexchange/28474-aperiodic-array-generation), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Mathematics > Elementary Math >
Tags
Communities
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
