matlab进行数据拟合 | 您所在的位置:网站首页 › matlab曲线拟合器 › matlab进行数据拟合 |
问题:
使用matlab的Curve Fit Tool 进行数据的拟合,选择多项式模式,从3阶到4阶切换时,对验证数据的测试相对误差偏大,而且大的离谱 原因:拟合系数的默认显示位数为4 解决方式:1)选择拟合界面上的 save to … 操作命令2: vpa(x) uses variable-precision floating-point arithmetic (VPA) to evaluate each element of the symbolic input x to at least d significant digits, where d is the value of the digits function. The default value of digits is 32. vpa(x,d) uses at least d significant digits, instead of the value of digits. |
CopyRight 2018-2019 实验室设备网 版权所有 |