用matlab拟合函数x=[677.451012953104\x051553.85010683228\x052528.37198845515\x053528.52265096343\x054508.63359601970\x055508.98978734822\x056511.01270638502\x057511.64313623208\x058508.10474633929\x059505.86450990300\x0510509.0428619525\x0511503.
来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/26 00:26:38
用matlab拟合函数x=[677.451012953104\x051553.85010683228\x052528.37198845515\x053528.52265096343\x054508.63359601970\x055508.98978734822\x056511.01270638502\x057511.64313623208\x058508.10474633929\x059505.86450990300\x0510509.0428619525\x0511503.
用matlab拟合函数
x=[677.451012953104\x051553.85010683228\x052528.37198845515\x053528.52265096343\x054508.63359601970\x055508.98978734822\x056511.01270638502\x057511.64313623208\x058508.10474633929\x059505.86450990300\x0510509.0428619525\x0511503.5769802492\x0512503.7370505377\x0513498.7396925537\x0514503.7826147662\x0515495.7313647469\x0516499.7742642499\x0517497.3204382489\x0518501.1914695065\x0519496.9667769014\x0520496.9564899291\x0521500.3942670351\x0522500.1329270370\x0523500.9830023369\x0524501.8738685193\x0525503.5858759285\x0526494.0664370410\x0527494.7262943641\x0528499.1031645671\x0529496.7998058568
];
y=[0.0759722222222223\x050.0862922374429221\x050.101666666666666\x050.117476787372331\x050.140865527488855\x050.147711442786068\x050.173868852459015\x050.181622094476378\x050.209639545665273\x050.214833833619208\x050.252104792205207\x050.263469369205599\x050.280498381325611\x050.308328181349821\x050.313706022187008\x050.335917473490091\x050.341273399758457\x050.340756877323423\x050.356966214131446\x050.357385313918902\x050.363987772790594\x050.370206058742124\x050.384025761124126\x050.395069487337867\x050.412140836215031\x050.435957597730141\x050.449714217098945\x050.466233462407228\x050.491088588588589\x050.488989681857265
];
用matlab中的拟合函数工具箱cftool中的高斯函数拟合后得到如图结果.
我根据拟合的参数,得出拟合方程后,将X代进去算,结果全为0,这是怎么回事啊,
用matlab拟合函数x=[677.451012953104\x051553.85010683228\x052528.37198845515\x053528.52265096343\x054508.63359601970\x055508.98978734822\x056511.01270638502\x057511.64313623208\x058508.10474633929\x059505.86450990300\x0510509.0428619525\x0511503.
我尝试了一下,没有问题.输出数据和拟合一样.你是不是程序哪里出问题了.