- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
元胞自动机程序(国外英文资料)
元胞自动机程序(国外英文资料)
Matlab for the cellular automaton (collection and redistribute) technology on 03-13 13:04:28 reading 121 comments 0 words: large and small subscriptions.
File: life. M
% % initialization
M = 50;
X = zeros (m, m);
X (25, 25) = 1;
N = [m 1: m - 1];
E = [2: m 1];
S = [2: m 1];
W = [m 1: m - 1];
% draw the initial graph
[I, j] = find (X);
Figure (GCF);
Plothandle = plot (I, j, ...
Color, blue...
MarkerSize, 12);
Axis ([0 m + 1 0 m + 1]);
% % evolution
For k = 1:50
% neighbor number
N = X (N, :) + X (s, :) + X (:) + X (:, w) +...
X (n, e) + X (n, w) + X (s) + X (s, w);
% probability matrix
RAND = RAND (m);
% s
X is equal to X.
% drawing
[I, j] = find (X);
Set (plothandle, xdata, I, ydata, j)
drawnow
Pause (0.2)
K.
The end
The file 2:
The function sierpinski (n);
The sierpinski right Angle gasket is generated using the cellular automata
% Example:
% sierpinski (256);
The % % algorithm: sun blog, fractal algorithm and programming: in Visual c + + implementation
If nargin = = 0;
N = 256;
The end
X = ones (n);
X of 1, n minus 1 is 0;
H = imshow (X, []);
Set (GCF, doublebuffer, on);
K = 1;
While k n.
X (k + 1: end - 1) = xor (k, 1: end - 1), X (k, 2: end));
X (k + 1, n) = 1;
Set (H, CData, X);
Pause (0.1);
K = k + 1;
The end
The file 3:
The function CA_sim_cloud;
% use cellular automata to simulate the cloud picture of the earth satellite
%
% the reference:
% Piazza, E. Cuccoli, f.;
And the Cellular Automata Simulation of Clouds in Satellite Images,
% Geoscience and Remote Sensing Symposium, 2001. IGARSS 01.
% IEEE 2001 International Volume 4, 9-13 July 2001 Page (s) :
% 1722-1724 vol. 4 Digital Object Identifier 10.1109 / IGARSS.
% 2001.977050
Time = 888; The % program executes the steps
M = 240;
N = 320;
S = round (rand (M, N) * 15);
P = [1, 2, 1, 6, 6, 1, 2, 1];
So p is equal to sum (the meshgrid (p), 2) / 20;
Rand ( state , 0);
SS = S;
R = rand (M, N);
G = R.
B = R;
C = cat (3, R, G, B);
FIG = figure;
Set (FIG, DoubleBuffer, on);
Mov = avifile ( example2.
您可能关注的文档
最近下载
- 电气联锁保护培训课件.pptx VIP
- 视觉引导类应用总结( 包含详细的旋转中心计算公式).pptx VIP
- 鲁棒控制-01.ppt VIP
- 第一单元-第2课-《国色之韵》课件+-2025—2026学年+人教版(2024)初中美术八年级上册.pptx VIP
- 中医康复技术专业专业自评报告.docx VIP
- 断路器及GIS多型号液压操动机构动作原理及故障处理方法.pptx
- 水质石油类的测定紫外分光光度法.pdf VIP
- 北师大版五年级上册数学第一单元测试卷.doc VIP
- GB50974-2014 消防给水及消火栓系统技术规范.docx
- 2024年高考作文哲思化写作素材4 ——《西方现代思想讲义》(弗洛伊德、萨特).docx VIP
文档评论(0)