first (X,Y) differences of the Barnsley's fern

版本 1.0.0.0 (66.1 KB) 作者: Youssef Khmou
Generating the Barnsley's fern and its firsts(X,Y) differences .
312.0 次下载
更新时间 2012/8/28

查看许可证

Generating the Barnsley's fern using the the following parameters :

-Probability values :P=[0.02 0.17 0.38 0.47]
Note that the interval [0.38 0.47] is skipped.

-Generating random values using the Uniform law.

-Sequence of coordinates (xn+1,yn+1) =:

--> 0.00 <= r < 0.02
(0.5, 0.32yn)
-->0.02 <= r <= 0.17
(-0.139xn+ 0.263yn+ 0.57 , 0.246xn+ 0.224yn- 0.036)
-->0.17 < r <= 0.38
(0.170xn - 0.215yn+ 0.408, 0.222xn+ 0.176yn+ 0.0893)
-->0.47 < r < 1
(0.781xn + 0.034yn+0.1075,-0.032xn+ 0.739yn+ 0.27)

-Number of iterations N=1e+6, Computing time : d < 1 second.

-First Order differences of each of the sequence (X_n,X_n) diff(X,Y) implies a sort of multiplication of the tree .

- Usage : [U,dU]=Barnsleyfern1d(filename1,filename2) plots the two figures and saves them with format specified by the filename.

References to other links :
http://en.wikipedia.org/wiki/Barnsley_fern
http://www.math.utah.edu/~doman/Fractals/Fern.m
http://www.mathworks.com/moler/exm/chapters/fern.pdf

引用格式

Youssef Khmou (2024). first (X,Y) differences of the Barnsley's fern (https://www.mathworks.com/matlabcentral/fileexchange/37935-first-x-y-differences-of-the-barnsley-s-fern), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2007a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Fractals 的更多信息
标签 添加标签

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0