<< MakeCantor Datasets, Documentation and Readers MakeImage >>

Wavelab Toolbox >> Wavelab Toolbox > Datasets, Documentation and Readers > MakeFractal

MakeFractal

Create Random or Deterministic Self-Similar signal

Calling Sequence

Frac = MakeFractal(n,base,type,prob)

Parameters

Inputs:

n :

signal length

base :

base of digits in expansion

type :

string 'rand' or 'detrministic'

prob :

vector of base numbers with sum = 1

Outputs:

Frac :

Self-Similar signal

Description

To get (a discrete approximation to) a Cantor Set, use base=3, type ='deterministic', prob = [.5 0 .5]

To get the random self-similar signal in Arneodo & Co. use base=4, type = 'random', prob = [.69, -.46, .46, .31]

Authors

<< MakeCantor Datasets, Documentation and Readers MakeImage >>