<< MakeBrownian Datasets, Documentation and Readers MakeFractal >>

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

MakeCantor

recursively generates a Cantor distribution.

Calling Sequence

x = MakeCantor(x,n1,n2,p,a1,a2,b1,b2);

Parameters

Inputs :

x :

signal of size n, (initialized by x = zeros(1,n))

n1 :

left border (initialized by 1)

n2:

right border (initialized by n)

a1,a2:

first and second cutting position (for example 1/3 and 2/3)

b1,b2:

weights to apply on [n1,a1] and [a2,n2]

Authors

<< MakeBrownian Datasets, Documentation and Readers MakeFractal >>