拟合出二元二次表达式,如何验证表达式的正确性?。
Afficher commentaires plus anciens
>> syms A t;
>> f=26.67+10.94*t-0.1*(t-37.5)^2+3194.30*A+151332.06*(A-0.015)^2+(t-37.5)*(A-0.015)*146;
>> subs(f,1,30)
ans =
(31943*A)/10 + (547*t)/50 - (t - 75/2)^2/10 + 146*(A - 3/200)*(t - 75/2) + (2599864994145239*(A - 3/200)^2)/17179869184 + 2667/100
f表达式是由一系列A与t值拟合得到,现在我想判断这个表达式是否正确,代入A=1,t=30进行计算验证,但我选择的方法应该是错误的,请问我该如何实现我的目标?
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Symbolic Math Toolbox dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!