由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Science版 - Re: least square fitting code
相关主题
Re: question about MATLAB 请教:3维数据拟合(包子贴)
Re: Urgent help!!!!!!请教:Fourier transform in Matlab
Re: Help! about matrix inversea least square fitting problem
Re: 请教两个翻译:最小二乘法(ols),回归a least square fitting problem
Re: how to calculate the square root of an N*N matrix?INVE4.02盘中新高?咖啡钱有了?哈哈哈?
One junior school problemINVE盘前上涨有点戏剧?
Re: 再问一次这个弱问题python拟合27次多项式就不行了?
如何快速求一个5000*5000的对称矩阵的逆numpy有polyfit, 有没有直接的函数返回polyfit的误差
相关话题的讨论汇总
话题: fitting话题: square话题: matlab话题: data话题: least
进入Science版参与讨论
1 (共1页)
t**k
发帖数: 10
1
matlab里有啊
叫polyfit吧
s***e
发帖数: 911
2

ft...
你用mathematica吧,也直接有.如果用fortran编也不复杂.何况recipe上就有
源程序...
s********k
发帖数: 212
3

netlib bah :-)
www.netlib.org
plenty of deposit of codes for scientific computing in fortran, c/c++
or pascal :-)
Good luck :-)
J**Y
发帖数: 34
4
You just need know in this case the estimated parameters B=Inv(X'X)*X'Y. You
can do this in any software. For example,in Matlab, suppose the first column
in your data is dependent one and other ones are independent variables, the
code can then be written as:
load data;
y=data(:,1);
x=data(:,2:k);
B=......
yf=BX
where yf is the fitted one.
1 (共1页)
进入Science版参与讨论
相关主题
numpy有polyfit, 有没有直接的函数返回polyfit的误差Re: how to calculate the square root of an N*N matrix?
二维多项式拟和One junior school problem
[合集] [急]请教如何用matlab做过某一定点的线性回归Re: 再问一次这个弱问题
二维多项式拟和如何快速求一个5000*5000的对称矩阵的逆
Re: question about MATLAB 请教:3维数据拟合(包子贴)
Re: Urgent help!!!!!!请教:Fourier transform in Matlab
Re: Help! about matrix inversea least square fitting problem
Re: 请教两个翻译:最小二乘法(ols),回归a least square fitting problem
相关话题的讨论汇总
话题: fitting话题: square话题: matlab话题: data话题: least