如何根据一些离散点,用matlab拟合函数,函数未知,z=[0.012,0.022,0.032,0.042,0.052,0.062,0.072,0.082,0.092,0.102,0.112,0.122,0.132,0.202,0.302,0.402,0.502,1.002,2.002,10.002,20.002];NU=[8.0239,6.7271,6.0510,5.6209,5.3188,5.0939,4.9198,4.

来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/25 02:33:50
如何根据一些离散点,用matlab拟合函数,函数未知,z=[0.012,0.022,0.032,0.042,0.052,0.062,0.072,0.082,0.092,0.102,0.112,0.12

如何根据一些离散点,用matlab拟合函数,函数未知,z=[0.012,0.022,0.032,0.042,0.052,0.062,0.072,0.082,0.092,0.102,0.112,0.122,0.132,0.202,0.302,0.402,0.502,1.002,2.002,10.002,20.002];NU=[8.0239,6.7271,6.0510,5.6209,5.3188,5.0939,4.9198,4.
如何根据一些离散点,用matlab拟合函数,函数未知,
z=[0.012,0.022,0.032,0.042,0.052,0.062,0.072,0.082,0.092,0.102,0.112,0.122,0.132,0.202,0.302,0.402,0.502,1.002,2.002,10.002,20.002];
NU=[8.0239,6.7271,6.0510,5.6209,5.3188,5.0939,4.9198,4.7812,4.6684,4.5751,4.4968,4.4303,4.3731,4.1216,3.9713,3.8931,3.8460,3.7516,3.7042,3.6663,3.6615]
需要得到NU和z对应的关系式.
我是初学者,希望你能把详细的matlab解题和答案过程给我说说,

如何根据一些离散点,用matlab拟合函数,函数未知,z=[0.012,0.022,0.032,0.042,0.052,0.062,0.072,0.082,0.092,0.102,0.112,0.122,0.132,0.202,0.302,0.402,0.502,1.002,2.002,10.002,20.002];NU=[8.0239,6.7271,6.0510,5.6209,5.3188,5.0939,4.9198,4.
你要的拟合问题,有很多种方式
如果你需要的一条函数,希望尽量靠近这些点,但是可以不过这些数据点,可以用最小二乘法去求这么一个函数,具体的函数形式,也是由你自己定
如果你要这个拟合函数过这些数据点,那么可以用很多种函数来拟合,常见的有多项式插值和样条插值,多项式的稳定性不好,样条插值是很常用而且效果很好的插值方法,可以保证连续性以及一次导数的连续性
我给你个code,你试试看
z 和 nu都是按你的输入进去
zz = z; % 可以取的更密集一些
new = spline(z,NU,zz); % 这个就是用你给的点做的样条
plot (zz,new); 画出新的插值函数
不过这种情况下,没有解析关系可以给出

matlab离散点数据直线拟合对于读取的特定图像 如何利用matlab对于离散点进行直线拟合 通过一些离散点,如何拟合成一个完整的椭圆曲线的matlab程序?如题,请举例说明,最后能生成下图所示的样子 怎么用matlab代码拟合椭圆?离散点拟合椭圆,求matlab代码,要确定可以用的! 如何根据一些离散点,用matlab拟合函数,函数未知,z=[0.012,0.022,0.032,0.042,0.052,0.062,0.072,0.082,0.092,0.102,0.112,0.122,0.132,0.202,0.302,0.402,0.502,1.002,2.002,10.002,20.002];NU=[8.0239,6.7271,6.0510,5.6209,5.3188,5.0939,4.9198,4. 如何将离散点拟合成直线 如何求解对离散点的最优椭圆拟合? 我用matlab做了两条离散点的拟合曲线,现在相求这两条线的交点,用什么程序 给出一些椭圆上离散的点的横纵坐标,怎么用matlab拟合出椭圆方程比如这些点是(1,0) (-1,0) (0,2 ) (0,-2) 一些离散点,我拟合出一条直线,怎样评价这些离散点与这条直线的离散程度 请问:用matlab的plot画好离散点的曲线后,怎样根据曲线求已知纵坐标的值(这个值对应两个x值)?我没有拟合曲线. 在matlab中如何将一些离散的二维坐标点用曲线显示出来?例如(154,470)(206,418)(221,418)(262,388)最好是能给出拟合曲线 如何寻找最好的拟合曲线?以及matlab中Polyfit的用法?主要有两个问题:1 对于一组离散点,如何寻找最好的拟合函数(曲线)?比如这组离散点,究竟是该选择多项式拟合合理,还是选用指数函数拟合更 matlab离散点拟合成曲线的拟合过程制作成视频我想用matlab对一组坐标数据(比如20组数据)进行拟合,得出一条拟合曲线.但是整个想要最后生成一个视频,即从第一个点拟合到第二个点,再到第 MATLAB中如何在一个图中显示多条离散曲线一个x,两个y(y1和y2),x,y1,y2都是离散的点,怎么样将拟合的图像显示在一张图上.用MATLAB, 用MATLAB把实验点拟合成曲线后如何求出某一点的切线 matlab如何把画图画出的离散点进行连线我用matlab画了一些点.为了看得更清晰,现在想把这些点都变成圆圈,并将各点用实线和虚线各连接一次. matlab拟合的曲线如何求积分面积?只知道25个离散点的数据(x,y)不知道函数表达式,用cftool拟合的曲线,type of fit选择的smoothing spline,如下图所示,我现在想求x从[0,24]曲线与x轴包围的面积,请问 matlab中,怎么根据一系列三维离散的点拟合出一个球面啊,并在球面上显示这些离散的点,进行数据分析计算出球面的球度误差,貌似cftool不能进行三维的曲面拟合,小弟弄了好长时间一直没有进