資源簡介
二分法、牛頓迭代法、復合梯形公式、復合辛普森公式、改進歐拉公式、四階龍格庫塔公式matlab代碼合集,帶有一份數(shù)據(jù)分析word文檔
代碼片段和文件信息
function?I=ComSimpson(abn)
n=2;
h=(b-a)/2;
I1=0;
I2=(f(a)+f(b))/h;
eps=1.0e-4;
while(abs(I2-I1)>eps)
????n=n+1;
????h=(b-a)/n;
????I1=I2;
????I2=0;
????for(i=0:n-1)
????????x=a+h*i;
????????x1=x+h;
????????I2=I2+h/6*(f(x)+4*f((x+x1)/2)+f(x1));
????end
end
I=I2
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2019-07-05?19:51??matlab數(shù)據(jù)分析代碼合集\
?????目錄???????????0??2019-06-22?12:36??matlab數(shù)據(jù)分析代碼合集\ComSimpson\
?????文件?????????281??2019-06-22?12:38??matlab數(shù)據(jù)分析代碼合集\ComSimpson\ComSimpson.m
?????文件??????????28??2019-06-22?10:32??matlab數(shù)據(jù)分析代碼合集\ComSimpson\f.m
?????目錄???????????0??2019-06-22?12:29??matlab數(shù)據(jù)分析代碼合集\ComTrapezoidal\
?????文件?????????228??2019-06-22?12:23??matlab數(shù)據(jù)分析代碼合集\ComTrapezoidal\ComTrapezoidal.m
?????文件??????????28??2019-06-22?10:32??matlab數(shù)據(jù)分析代碼合集\ComTrapezoidal\f.m
?????目錄???????????0??2019-06-22?19:57??matlab數(shù)據(jù)分析代碼合集\Euler\
?????文件?????????260??2019-06-22?20:32??matlab數(shù)據(jù)分析代碼合集\Euler\Euler.m
?????文件??????????37??2019-06-22?20:29??matlab數(shù)據(jù)分析代碼合集\Euler\f.m
?????目錄???????????0??2019-06-22?19:05??matlab數(shù)據(jù)分析代碼合集\HalfInterval\
?????文件?????????751??2019-06-22?19:09??matlab數(shù)據(jù)分析代碼合集\HalfInterval\HalfInterval.m
?????目錄???????????0??2019-06-22?19:38??matlab數(shù)據(jù)分析代碼合集\NewtonRootl\
?????文件??????????30??2019-06-22?19:36??matlab數(shù)據(jù)分析代碼合集\NewtonRootl\df.m
?????文件??????????33??2019-06-22?19:29??matlab數(shù)據(jù)分析代碼合集\NewtonRootl\f.m
?????文件?????????241??2019-06-22?19:35??matlab數(shù)據(jù)分析代碼合集\NewtonRootl\NewtonRootl.m
?????目錄???????????0??2019-06-22?21:47??matlab數(shù)據(jù)分析代碼合集\Runge_Kutta4\
?????文件?????????359??2019-06-22?20:55??matlab數(shù)據(jù)分析代碼合集\Runge_Kutta4\Funval.m
?????文件?????????391??2019-06-22?21:46??matlab數(shù)據(jù)分析代碼合集\Runge_Kutta4\Runge_Kutta4.m
?????文件??????166910??2019-06-24?23:13??matlab數(shù)據(jù)分析代碼合集\代碼示例及數(shù)據(jù)分析.docx
評論
共有 條評論