在matlab中 lsqurvefit指令输出的结果有三个值 分别是什么意思?
答案:2 悬赏:10 手机版
解决时间 2021-02-08 11:13
- 提问者网友:谁的错
- 2021-02-07 18:30
在matlab中 lsqurvefit指令输出的结果有三个值 分别是什么意思?
最佳答案
- 五星知识达人网友:煞尾
- 2021-02-07 19:51
[x,resnorm] = lsqcurvefit(...) returns
the value of the squared 2-norm of the residual at x: sum((fun(x,xdata)-ydata).^2).
[x,resnorm,residual] = lsqcurvefit(...) returns
the value of the residual fun(x,xdata)-ydata at
the solution x.
x是拟合出来的系数,resnorm是残差,residual是残差向量
the value of the squared 2-norm of the residual at x: sum((fun(x,xdata)-ydata).^2).
[x,resnorm,residual] = lsqcurvefit(...) returns
the value of the residual fun(x,xdata)-ydata at
the solution x.
x是拟合出来的系数,resnorm是残差,residual是残差向量
全部回答
- 1楼网友:话散在刀尖上
- 2021-02-07 20:44
就我的理解,目前同一行还不能直接输出多个变量,但可以转化一下思路,把这些值保存在一个行向量里面,然后直接输出,a=[qa,ra,sz,dz],即可直接输出为行显示
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯