搜索资源列表
hilbert
- 构建hilbert曲线,可以计算gilbert曲线的各参数值-This recursive function calculates coordinates of n-th order Hilbert curve. It is then possible to plot it using the "line" command.
fractal
- matlab程序画图,常见分形图,function cantor(A,B) c=1 p=0 figure hold on plot([A(2) B(2)],[A(1) B(1)], r* ) while norm(A(1,:)-B(1,:))>=1 C=[] D=[] for i=1:size(A,1) a=A(i,:)+(B(i,:)-A(i,:))/3 b=A(i,:)+2*(B(i,:)-A(i,:))/3 C=