数值分析雅克比高斯迭代法MATLAB程序

上传人:M****1 文档编号:562788776 上传时间:2022-10-17 格式:DOC 页数:9 大小:146.50KB
返回 下载 相关 举报
数值分析雅克比高斯迭代法MATLAB程序_第1页
第1页 / 共9页
数值分析雅克比高斯迭代法MATLAB程序_第2页
第2页 / 共9页
数值分析雅克比高斯迭代法MATLAB程序_第3页
第3页 / 共9页
数值分析雅克比高斯迭代法MATLAB程序_第4页
第4页 / 共9页
数值分析雅克比高斯迭代法MATLAB程序_第5页
第5页 / 共9页
点击查看更多>>
资源描述

《数值分析雅克比高斯迭代法MATLAB程序》由会员分享,可在线阅读,更多相关《数值分析雅克比高斯迭代法MATLAB程序(9页珍藏版)》请在金锄头文库上搜索。

Four short words sum up what has lifted most successful individuals above the crowd: a little bit more.-author-date数值分析雅克比高斯迭代法MATLAB程序数值分析雅克比高斯迭代法MATLAB程序1.雅可比迭代法:function x,n=jaccbi(A,b,x0,eps,t)if nargin=3; eps=1e-6; m=200;elseif nargin=eps x0=x; x=B*x0+f; n=n+1; if(n=m) disp(可能不收敛); return; end;end2.高斯赛德尔迭代法:function x,n=gsdddy(A,b,x0,eps,t)if nargin=3; eps=1e-6; m=200;elseif nargin=eps x0=x; x=B*x0+f; n=n+1; if(n=m) disp(迭代次数过多,可能不收敛); return; end;endPS:有兴趣小朋友试一下,结果与x0无关-

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 建筑/环境 > 施工组织

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号