From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

NI LabVIEW,CVI,数据采集等产品讨论区

取消
显示结果 
搜索替代 
您的意思是: 

请教 这种情况用nonlinear curve fit如何拟合?

已知自变量x1和x2,因变量y,拟合公式为y=A*(x1)^4+B*(x2+D)^4+C*(x2+E)^4,相当于已知三个矩阵,拟合出5个变量。请问用什么方法能拟合?我看到nonlinear curve fit拟合的自变量只有一个x,可我们的模型里面有2个自变量,不知道怎么处理了。如果是matlab可以将x1 x2作为一个2维矩阵处理,但是labview里面怎么处理?

尴尬表情望高人指点。

0 项奖励
1 条消息(共 2 条)
5,067 次查看

既然您能用MATLAB实现,那么最简单的方法就是把MATLAB程序移植到LabVIEW Mathscript模块中,同样可以实现这个功能。

0 项奖励
2 条消息(共 2 条)
4,254 次查看