数学建模 拟合 如果知道公式了 如何使用matlab的拟合工具箱

简介

在数学建模中,有的时候你知道公式的大致形式,但是要求系数。可以使用matlab的拟合工具箱

简单code

x=[1,2,3,4,5];
y=[1,3,6,10,15];
cftool

cftool

Hope is a good thing,maybe the best of things,and no good thing ever dies.----------- Andy Dufresne
原文地址:https://www.cnblogs.com/eat-too-much/p/13547437.html