Code covered by the BSD License  

Highlights from
Aperiodic array generation

Be the first to rate this file! 10 Downloads (last 30 days) File Size: 5.58 KB File ID: #28474
image thumbnail

Aperiodic array generation

by ben payne

 

13 Aug 2010 (Updated 13 Apr 2012)

Functions to create aperiodic 1D, 2D arrays from Thue-Morse, Fibonacci, Rudin-Shapiro algorithms

| Watch this File

File Information
Description

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).

MATLAB release MATLAB 7.7 (R2008b)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Updates
13 Aug 2010

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

13 Apr 2012

new sequences added
functional form used with sanity checking on inputs

Tag Activity for this File
Tag Applied By Date/Time
aperiodic ben payne 13 Aug 2010 12:28:44
thuemorse ben payne 13 Aug 2010 12:28:44
thue ben payne 13 Aug 2010 12:28:44
morse ben payne 13 Aug 2010 12:28:44
rudinshapiro ben payne 13 Aug 2010 12:28:44
rudin ben payne 13 Aug 2010 12:28:44
shapiro ben payne 13 Aug 2010 12:28:44
pattern ben payne 13 Aug 2010 12:28:44
scaling ben payne 13 Aug 2010 12:28:44
physics ben payne 13 Aug 2010 12:28:44
array ben payne 13 Apr 2012 16:06:16
function ben payne 13 Apr 2012 16:06:16
paper folding ben payne 13 Apr 2012 16:06:16
dragon curve ben payne 13 Apr 2012 16:06:16
baum sweet ben payne 13 Apr 2012 16:06:16
automata ben payne 13 Apr 2012 16:06:16
sequence ben payne 13 Apr 2012 16:06:16

Contact us at files@mathworks.com