Generation of 2D fractal trees

バージョン 1.0.0.0 (2.49 KB) 作成者: Dmitry
This small function is used for generation and visualisation of fractal trees
ダウンロード: 2.2K
更新 2010/11/25

ライセンスの表示

% This function allow you to bild fractal trees
% by using modified algorithms based on the so-called Kantor`s array
% and method of inverse trace
% These methods allow you to economise time and computer memory
% considerably
% It`s arguments:
% Fraktal(n,r,phi,xb,yb)
% n - number of iterations
% r - scale factor
% in case of nonuniform fractals where different scale-factors take
% place, r may be vector (in this case the lengths of r and phi must be equal)
% phi - vector of angles in fractal generator that are calculated
% relative to the horizontal axis connecting end points of generator
% xb and yb - coordinates of trunk
%
% For example for famous Pifagorus`s tree in it`s vertical position the call of this function is
% so:
% FraktalT(n,0.5,[pi/4,-pi/4],[0,0],[0,1])
% n is recommended to be in range 1..12 not to call the overloaded of stack

引用

Dmitry (2024). Generation of 2D fractal trees (https://www.mathworks.com/matlabcentral/fileexchange/29536-generation-of-2d-fractal-trees), MATLAB Central File Exchange. に取得済み.

MATLAB リリースの互換性
作成: R2009b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersFractals についてさらに検索
タグ タグを追加

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0