- 1、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
华工数学试验-功课3-迭代与分形(国外英文资料)
华工数学实验-作业3-迭代与分形(国外英文资料)
The math experiment reports
Institute of electronics and information
Professional class: communication engineering class 4
Study number: 201130301443
Name: li tenghui
Experiment name: iteration and fractal
Experiment date: 2013.04.7
The third experiment
Experimental content
For an equilateral triangle, each edge is iterated by the Koch curve, resulting in a fractal graph called the Koch flake. The program draws its graph and calculates the area of the Koch flake, and its fractal dimension.
experiment
Methods a
Modelled on the Koch curve code on each side of the triangle Koch curve, and the function of the input parameter is the side of the triangle R and the number of iterations k, output Koch snowflake and snow area S.
The KochSnow area derivation follows:
The number of iterations k area S
Zero: S =
1: S is equal to R2 plus (R) 2 times 3
2: S = R2 + (R) 2 * 3 + (() 2R) 2 * 32
3: S = R2 + (R) 2 * 3 + (() 2R) 2 * 32 + (() 3R) 2 * 33
` ` ` ` ` `
N: S = R2 + (R) 2 * 3 + (() 2R) 2 * 32 + (() 3R) 2 * 33 +...
2 * 3 n (nR)
So if you add this up, when Na is infinity, S is going to be infinity
Source code:
Function kochsnow (R, k) % R is the length of the positive triangle, k is the number of iterations
P01 = [0, 0]; P02 = [R / 2, SQRT (3) * R / 2]; P03 = [R, 0]; % 3 a starting point
S = 0; The % S is the area, and set it to 0
For line = 0:2, the operation of the Koch curve is performed on three sides
If the line = = 0;
P = [p01 and p02];
Elseif line = = 1;
P = [p02 p03);
The else line = = 2;
P = [p03 p01];
The end
N = 1; The amount of the line segment is stored at the initial value of 1
A is equal to cosine of PI over 3, minus sine of PI over 3, sine of PI over 3, cosine of PI over 3. The % transformation matrix is used to compute the new nodes
For the s = 1: k
J = 0; % j for the number of rows
For I = 1: n
Q1 = p (I, :); The starting point of the current line segment
Q2 = p (I + 1:); The end point of the current line segment
D is equal to q2 minus
您可能关注的文档
最近下载
- ERP项目LCSAP-TB-MM-010 V30 物料主数据维护流程.doc VIP
- ERP项目LCSAP_TB_PP_090 V3.0 超级BOM主数据维护流程.doc VIP
- 加多宝流程jdb tb pp010物料清单维护v.pdf VIP
- XX公司物料清单维护流程-V3.0.doc VIP
- 90系列变量泵维修服务手册.pdf VIP
- xx公司物料清单(BOM)编制规则和管理办法.pdf VIP
- 20XX年Oracle标准功能培训物料清单.ppt VIP
- 20XX年物料编码、BOM分层原则.ppt VIP
- 20XX年安利BOM物料清单的制作技巧.ppt VIP
- 美术教师如何提升自己的专业素养.pptx VIP
文档评论(0)