方程x=a*y^b+c*y^d
现有8组数据可以用来拟合参数a,b,c,d,用智能优化算法拟合的话,模拟退火算法、遗传算法、禁忌搜索算法用哪个算法比较好呢

 Akzeptierte Antwort

suteleci
suteleci am 17 Mai 2023

0 Stimmen

都可以。
参数拟合,直接用非线性拟合函数 就可以实现。看看 lsqnonlin 、nlinfit 等函数用法。

Weitere Antworten (0)

Kategorien

Gefragt:

am 17 Mai 2023

Beantwortet:

am 17 Mai 2023

Community Treasure Hunt

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

Start Hunting!