数值分析 matlab
Chapter5
LeastSquares
Thetermleastsquaresdescribesafrequentlyusedapproachtosolvingoverdeter-minedorinexactlyspeci edsystemsofequationsinanapproximatesense.Insteadofsolvingtheequationsexactly,weseekonlytominimizethesumofthesquaresoftheresiduals.
Theleastsquarescriterionhasimportantstatisticalinterpretations.Ifap-propriateprobabilisticassumptionsaboutunderlyingerrordistributionsaremade,leastsquaresproduceswhatisknownasthemaximum-likelihoodestimateofthepa-rameters.Eveniftheprobabilisticassumptionsarenotsatis ed,yearsofexperiencehaveshownthatleastsquaresproducesusefulresults.
Thecomputationaltechniquesforlinearleastsquaresproblemsmakeuseoforthogonalmatrixfactorizations.
5.1ModelsandCurveFitting
Averycommonsourceofleastsquaresproblemsiscurve tting.Lettbetheindependentvariableandlety(t)denoteanunknownfunctionoftthatwewanttoapproximate.Assumetherearemobservations,i.e.valuesofymeasuredatspeci edvaluesoft.
yi=y(ti),i=1,...,m
Theideaistomodely(t)byalinearcombinationofnbasisfunctions,
y(t)≈β1φ1(t)+...+βnφn(t)
ThedesignmatrixXisarectangularmatrixoforderm-by-nwithelements
xi,j=φj(ti)
Thedesignmatrixusuallyhasmorerowsthancolumns.Inmatrix-vectornotation,themodelis
y≈Xβ
1
数值分析与matlab——01... 数值分析与matlab——02... 数值分析与matlab——03... 数值分析与matlab——04... 数值分析与matlab——05... 数值分析与matlab...
数值分析与matlab——02_linear equation 数值分析 matlab数值分析 matlab隐藏>> Chapter 2 Linear Equations One of the problems encountered most frequently in ...
Matlab绘图 ? 简单绘图源程序: x=0 : 0.05 : 10; y=sin(x).*exp(-0... 图像尺寸变换技巧——巧...1/2 相关文档推荐 matlab数值分析实验 155页 1...
数值分析Matlab作业_数学_自然科学_专业资料。数值分析编程作业 数值分析 2012 年 12 月 第二章 14.考虑梯形电阻电路的设计,电路如下: 电路中的各个电流{i1,...
数值分析Matlab基础_工学_高等教育_教育专区。数值分析Matlab基础 数值分析Matlab基础 Ch 1 基础准备及入门目的: 目的: 一是讲述MATLAB正常运行所必须具备的 基础...
Least squares and least norm in Matlab_理学_高等教育_教育专区。math---matlabEE263 Prof. S. Boyd Least squares and least norm in Matlab Least squares...
数值分析matlab版第五章_理学_高等教育_教育专区。实验报告五题目:常微分方程数值解法 摘要:熟悉常微分方程的数值解法的基本原理。掌握 Euler 法,改进 Euler 法,...
MATLAB Char04-试验数据分析与处理20100420_计算机软件及应用_IT/计算机_专业...n that fits the data, p(x(i)) to y(i), in a least squares sense...
数值分析MATLAB代码_数学_自然科学_专业资料。% LU 分解 % 算例 A=[1 2 ...Y 为插值点对应的函 数值,dY 为插值点两端点对应的一 阶导数值 % 算例 X...
数值分析实验MATLAB_天文/地理_自然科学_专业资料。数值分析实验,用MATLAB编写...[0.4 0.55 0.65 0.8 0.95 1.05] fx=[0.41075 0.57815 0.69675 ...
热门文档