| 查看: 3470 | 回复: 3 | ||
ylberyl金虫 (正式写手)
|
[求助]
Matlab多项式拟合中参数的不确定度及相关系数
|
|
Matlab中,通过polyfit(x,y,n)就可以拟合n阶多项式。 那么R2以及拟合得到的参数的不确定度如何计算? 因为这个通过origin拟合时,在报告里就可以自动生成。我主要是excel处理数据,通过连接可以方便的把数据导入matlab。 |
» 猜你喜欢
磺酰氟产物,毕不了业了!
已经有4人回复
论文终于录用啦!满足毕业条件了
已经有16人回复
求个博导看看
已经有19人回复
投稿Elsevier的杂志(返修),总是在选择OA和subscription界面被踢皮球
已经有8人回复
» 本主题相关价值贴推荐,对您同样有帮助:
matlab微分方程组参数拟合,以周为单位求解,汇总后以年为单位进行数值比较
已经有4人回复
matlab拟合方程参数时初值的选择
已经有15人回复
从excel读取数据多项式拟合出错
已经有3人回复
在matlab中拟合曲面的表达式
已经有29人回复
matlab 求指点 动力学方程拟合过程中导数的获取
已经有10人回复
matlab拟合拟均相动力学参数
已经有6人回复
需要用matlab拟合数据的外行人急需帮助
已经有10人回复
关于XRD粉末精修的键参数不确定度的数值范围
已经有10人回复
matlab非线性参数拟合问题
已经有7人回复
【致H兄】数列题的万能多项式拟合求法
已经有28人回复
【求助】使用MATLAB拟合出按照公式的系数
已经有19人回复
【原创】多项式和非多项式曲线拟合的MATLAB实现视频教程
已经有10人回复
【求助】如何使得matlab拟合的曲线强制经过一个点
已经有8人回复
【求助】使用MATLAB怎么实现拟合力场参数的程序?【已解决】
已经有15人回复
origin中做线性拟合时,如何才能提高相关系数???
已经有10人回复
【答案】应助回帖
★
感谢参与,应助指数 +1
jjdg: 金币+1, 感谢参与 2012-06-16 21:52:29
感谢参与,应助指数 +1
jjdg: 金币+1, 感谢参与 2012-06-16 21:52:29
|
help polyfit polyfit Fit polynomial to data. P = polyfit(X,Y,N) finds the coefficients of a polynomial P(X) of degree N that fits the data Y best in a least-squares sense. P is a row vector of length N+1 containing the polynomial coefficients in descending powers, P(1)*X^N + P(2)*X^(N-1) +...+ P(N)*X + P(N+1). [P,S] = polyfit(X,Y,N) returns the polynomial coefficients P and a structure S for use with POLYVAL to obtain error estimates for predictions. S contains fields for the triangular factor (R) from a QR decomposition of the Vandermonde matrix of X, the degrees of freedom (df), and the norm of the residuals (normr). If the data Y are random, an estimate of the covariance matrix of P is (Rinv*Rinv')*normr^2/df, where Rinv is the inverse of R. [P,S,MU] = polyfit(X,Y,N) finds the coefficients of a polynomial in XHAT = (X-MU(1))/MU(2) where MU(1) = MEAN(X) and MU(2) = STD(X). This centering and scaling transformation improves the numerical properties of both the polynomial and the fitting algorithm. Warning messages result if N is >= length(X), if X has repeated, or nearly repeated, points, or if X might need centering and scaling. |
2楼2012-06-14 07:47:01
Honbein
木虫 (正式写手)
- 应助: 3 (幼儿园)
- 金币: 3785.2
- 散金: 5
- 红花: 1
- 帖子: 531
- 在线: 86.4小时
- 虫号: 1839556
- 注册: 2012-05-29
- 性别: GG
- 专业: 粒子物理与核物理实验方法
3楼2012-06-16 10:29:06
sujie1988
木虫 (正式写手)
- 应助: 0 (幼儿园)
- 金币: 2278.6
- 散金: 15
- 红花: 2
- 沙发: 1
- 帖子: 473
- 在线: 130.9小时
- 虫号: 1105086
- 注册: 2010-09-21
- 性别: GG
- 专业: 光学

4楼2012-06-18 18:35:40







回复此楼