拟合出二元二次表达式,如何验证表达式的正确性?。
Mostrar comentarios más antiguos
>> 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进行计算验证,但我选择的方法应该是错误的,请问我该如何实现我的目标?
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Symbolic Math Toolbox en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!