Fractal generator

버전 1.0.0.0 (3.06 KB) 작성자: Jakob Laugesen
Function to generate fractal structures Excellent for educational demonstrations.
다운로드 수: 1.3K
업데이트 날짜: 2009/11/18

라이선스 보기

Based on axioms and generators the function generates fractal structures of a specified level and one of the predefined geometries (Sierpinski's triangle and pyramide and Menger's sponge).

Works in two ways: 1) Generation of one of the three
predefined geometries or 2) Alternative the axiom and generator coordinates may be specified to generate other fractal than those predefined.

Usage (for predefined use):
fractal(N,s);
where N is the level and s=1/2/3

Examples:
fractal(2,1); % show the Sierpinski's triangle with 2 levels.
fractal(0,3); % show the axiom of the Menger's sponge.
fractal(1,3); % show the generator of the Menger's sponge.

인용 양식

Jakob Laugesen (2026). Fractal generator (https://kr.mathworks.com/matlabcentral/fileexchange/25892-fractal-generator), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2008a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Fractals에 대해 자세히 알아보기
버전 게시됨 릴리스 정보
1.0.0.0