怎么用matlab做​指数函数曲线拟合并求​参数,请求高人帮忙。

x=[ 0.25 0.5 0.75 1 1.5 2 2.5 3 3.5 4 4.5 5 6 7 8 9 10 11 12 13 14 15 16]; y=[30 68 75 82 82 77 68 68 58 51 50 41 38 35 28 25 18 15 12 10 7 7 4]; y=a*exp(m*x); 需要进行曲线拟合求出啊,a,m数值,请问该怎么编写程序?
因为会经常做此类分析,所以想用m文件编写程序,求高手指教!先行谢过了!

Antworten (0)

Kategorien

Tags

Gefragt:

N/A
am 21 Nov. 2022

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!