解释下各个程序的段的意思!哪个大侠帮我下,很感谢%file maxnorm.mfunction t=maxnorm(a) %the maximum element of the arrayn=length(a); t=0; for i=1:n if abs(a(i)/max(abs(a)))>=1 t=a(i); end end%%%%把上面的文件存为maxnorm.m%fil

来源:学生作业帮助网 编辑:作业帮 时间:2024/04/29 00:46:54

解释下各个程序的段的意思!哪个大侠帮我下,很感谢%file maxnorm.mfunction t=maxnorm(a) %the maximum element of the arrayn=length(a); t=0; for i=1:n if abs(a(i)/max(abs(a)))>=1 t=a(i); end end%%%%把上面的文件存为maxnorm.m%fil
解释下各个程序的段的意思!哪个大侠帮我下,很感谢
%file maxnorm.mfunction t=maxnorm(a) %the maximum element of the arrayn=length(a); t=0; for i=1:n if abs(a(i)/max(abs(a)))>=1 t=a(i); end end%%%%把上面的文件存为maxnorm.m%file maxtr.mfunction [mt,my]=maxtr(a,eps)%a the matrix%eps the accept error ,you decide it%mt the maximum eigenvalue of the matrix%my the corresponding eigenvector of mtn=length(a); x0=diag(ones(n)); k=1; x=a*x0; while norm(x-x0)>eps k=k+1; q=x; y=x/maxnorm(x); x=a*y; x0=q; end mt=maxnorm(x);my=y;%%%%把上面的文件存为maxtr.m

解释下各个程序的段的意思!哪个大侠帮我下,很感谢%file maxnorm.mfunction t=maxnorm(a) %the maximum element of the arrayn=length(a); t=0; for i=1:n if abs(a(i)/max(abs(a)))>=1 t=a(i); end end%%%%把上面的文件存为maxnorm.m%fil
这个程序是扯淡,既然是要求最大元素,可是你使用了Matlab自带的max函数先求出最大值,再用每一个元素与最大比做商比较,这还有什么意义呢,不是胡扯吗%file maxnorm.mfunction t=maxnorm(a) %the maximum element of the arrayn=length(a); t=0; for i=1:n if abs(a(i)/max(abs(a)))>=1 t=a(i); end 这个函数用来求矩阵的特征值和特征向量的%file maxtr.mfunction [mt,my]=maxtr(a,eps)%a the matrix输入矩阵%eps the accept error ,you decide it误差容限%mt the maximum eigenvalue of the matrix特征值%my the corresponding eigenvector of mt特征向量n=length(a); %矩阵长度x0=diag(ones(n)); %对角线原始% 下面是算法具体不好说明,因为我不知道用的是那个算法% 由于使用的都是简单的复制,加减乘除语句,很好理解的k=1; x=a*x0; while norm(x-x0)>eps %判断是否达到误差容限 k=k+1; q=x; y=x/maxnorm(x); x=a*y; x0=q;endmt=maxnorm(x);%返回特征值my=y;%返回特征向量 查看原帖>>

解释下各个程序的段的意思!哪个大侠帮我下,很感谢%file maxnorm.mfunction t=maxnorm(a) %the maximum element of the arrayn=length(a); t=0; for i=1:n if abs(a(i)/max(abs(a)))>=1 t=a(i); end end%%%%把上面的文件存为maxnorm.m%fil 帮我解释下下面这段代码的意思 西门子PLC中程序段分析,给解释下意思,L是装载,T是传送,后面的怎么解释? 帮我解释下下面英文的意思如图 帮我解释下战略举重若轻,战术举轻若重的意思? 英语翻译帮我解释下这句话的意思! 哪位帮我解释下“好走快两步”的意思! =VLOOKUP(D21,基础数据!$A:$B,2,FALSE) 帮我解释下公式的意思,谢谢! $A:$B,2, 这一段不明白具体各个符号代表什么 我在百度中没有搜到静力等效原则的解释,哪位大侠能帮回答下, 帮我解释下下面的电路 英语好的过来帮个忙scribble,scribe,script,scribbler,manuscript,postscript请大侠帮我解释下这几个单词的意思,并介绍下他们有什么不同处 谁能帮我解释下这个焊接符号代表的具体意思啊 符号和上面各个位置数字的意思 西班牙语和葡萄牙语哪个好学,就业前景好啊、懂行的朋友帮我从各个方面分析下. Out for lunch/supper, and will be in touch later.中文意思上面的那段是 印泥语 希望能帮我解释下谢谢 帮我解释下公式啥意思 精艺求精,滴水不漏的意思?请大家帮我全面的解释下这句话的意思, 解释下各个关于SHIBOR的各个参数 where have you been before中文什么意思谢谢大侠帮我翻译下,鄙人的英文实在是...