找回密码
 注册
Simdroid-非首页
查看: 390|回复: 2

【讨论】如何自定义函数做非线性拟合

[复制链接]
发表于 2004-7-4 19:10:44 | 显示全部楼层 |阅读模式 来自 天津
在主工具栏中analysis的non-linear curve fit对话框中自定义函数:
y=p1*(1+4p1^2*(x/p3)^2)/((1-(x/p3)^2)^2+4*p2^2*(x/p3)^2)
  
但编译出错:
Error, Variable "p1" not declared
Error, general compile error
Error, error(s) found in compiling function _nlsfFittingFunction
Error, Variable "p1" not declared
Error, general compile error
Error, error(s) found in compiling function _nlsfFittingFunction
不清楚是哪弄错了

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
发表于 2004-7-10 12:15:37 | 显示全部楼层 来自 广东珠海

回复: 【讨论】如何自定义函数做非线性拟合

Simdroid开发平台
提示p1未定义,可能是大小写的问题, 默认的参数好象是大写的。
jhli 该用户已被删除
发表于 2006-2-10 15:09:51 | 显示全部楼层 来自 江苏常州
提示: 作者被禁止或删除 内容自动屏蔽
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|小黑屋|联系我们|仿真互动网 ( 京ICP备15048925号-7 )

GMT+8, 2024-7-9 05:25 , Processed in 0.051559 second(s), 15 queries , Gzip On, MemCache On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表