用Mathematica 利用非线性最小二乘法 实现曲线拟合 盼您回信数据{0,0},{0.115,0.11},{0.173,0.14},{0.231,0.24},{0.346,0.29},{0.461,0.31},{0.5,0.32} 模型是 D^2/[D^2 + (0.7 D + 2416.4)^2]*(Sin[0.5*x*Sqrt[D*D + (0.84 D + 2899.7)^2]])

来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/28 18:20:32
用Mathematica利用非线性最小二乘法实现曲线拟合盼您回信数据{0,0},{0.115,0.11},{0.173,0.14},{0.231,0.24},{0.346,0.29},{0.461,0

用Mathematica 利用非线性最小二乘法 实现曲线拟合 盼您回信数据{0,0},{0.115,0.11},{0.173,0.14},{0.231,0.24},{0.346,0.29},{0.461,0.31},{0.5,0.32} 模型是 D^2/[D^2 + (0.7 D + 2416.4)^2]*(Sin[0.5*x*Sqrt[D*D + (0.84 D + 2899.7)^2]])
用Mathematica 利用非线性最小二乘法 实现曲线拟合 盼您回信
数据{0,0},{0.115,0.11},{0.173,0.14},{0.231,0.24},{0.346,0.29},{0.461,0.31},{0.5,0.32} 模型是 D^2/[D^2 + (0.7 D + 2416.4)^2]*(Sin[0.5*x*Sqrt[D*D + (0.84 D + 2899.7)^2]])^2 ----3个方程合为一体 所以有点麻烦
Q1 利用非线性最小二乘法 实现曲线拟合
Q2 求出方程中 D的值
几个月前 经您指导 我照葫芦画瓢 写了代码 但是怎么也运行不了 请您指教
data = {{0,0},{0.115,0.11},{0.173,0.14},{0.231,0.24},{0.346,
0.29},{0.461,0.31},{0.5,0.32}};
model = D^2/[D^2 + (0.7 D + 2416.4)^2]*(Sin[0.5*x*Sqrt[D*D + (0.84 D + 2899.7)^2]])^2;
fit = FindFit[data,{model,{D >= 0}},{D},x]
modelf = Function[{x},Evaluate[model /.fit]]
Plot[modelf[x],{x,0,0.5},Epilog -> Map[Point,data]]
Methematica上面 提示的错误如下
Syntax::sntxf:"D^2/" cannot be followed by "[D^2+(0.7D+2416.4)^2]".
Syntax::tsntxi:"[D^2+(0.7D+2416.4)^2]" is incomplete; more input is needed.
Syntax::sntxi:Incomplete expression; more input is needed.

用Mathematica 利用非线性最小二乘法 实现曲线拟合 盼您回信数据{0,0},{0.115,0.11},{0.173,0.14},{0.231,0.24},{0.346,0.29},{0.461,0.31},{0.5,0.32} 模型是 D^2/[D^2 + (0.7 D + 2416.4)^2]*(Sin[0.5*x*Sqrt[D*D + (0.84 D + 2899.7)^2]])
呃,一个简单的笔误而已...
data = {{0,0},{0.115,0.11},{0.173,0.14},{0.231,0.24},{0.346,
0.29},{0.461,0.31},{0.5,0.32}};
model = D^2/(D^2 + (0.7 D + 2416.4)^2)*(Sin[
0.5*x*Sqrt[D*D + (0.84 D + 2899.7)^2]])^2;
fit = FindFit[data,{model,{D >= 0}},{D},x]
注意仅仅是把model的表达式的一组[]改成了().
运行前三行代码,结果为
{D -> 1.03161}
其实错误提示已经说得比较明显了,

变系数非线性常微分方程组用mathematica怎么求解? 如何求解常系数非线性微分方程组怎么样利用mathematica来求解非线性微分方程组,数值解法也好,命令是什么,格式是什么? 用Mathematica 利用非线性最小二乘法 实现曲线拟合 代码如下data = {{0,0},{0.000115,0.09},{0.000173,0.13},{0.000231,0.17},{0.000346,0.23},{0.000461,0.25},{0.0005,0.24}};model = D^2/(D^2 + (0.7 D + 2416.4)^2)*(Sin[0.5*x*Sqrt[D*D + (0. 求高手赐教 急!用Matlab或者Mathematica或任何可行的软件 利用非线性最小二乘法 实现曲线拟合 求解方程我有一组数据(x,y)=(0,0)(0.154,0.35)(0.173,0.39)(0.289,0.44)(0.346,0.48) 相对应的方程 用Mathematica 利用非线性最小二乘法 实现曲线拟合 盼您回信数据{0,0},{0.115,0.11},{0.173,0.14},{0.231,0.24},{0.346,0.29},{0.461,0.31},{0.5,0.32} 模型是 D^2/[D^2 + (0.7 D + 2416.4)^2]*(Sin[0.5*x*Sqrt[D*D + (0.84 D + 2899.7)^2]]) 如何利用MATLAB解非线性规划 求教:利用mathematica解如图所示的线性方程组. 用Mathematica 8.0 画图 用mathematica解决微分方程 用Mathematica求解 如何非线性最小方差法拟合曲线请问如何进行非线性最小方差法拟和曲线,一般用什么软件,origin行么?能简单介绍怎么操作吗?谢谢! 为什么调制必须利用电子器件的非线性特性才能实现 利用matlab编写非线性方程组求根的二分法程序 如何利用mathcad做多参数的非线性拟合 matlab中如何做非线性最小二乘拟合 mathematica非线性拟合拟合的形式是Log((5.47-2*a+y)/(4*y-2*a))=1/150*b*x ,我有一批x相应y的数据,想求参数a、b.用mathematica应该怎么写啊?(包括x、y的录入方式也不知道.) mathematica解运动方程我想解一个带非线性阻尼的微分方程,用MATHEMATICA就是算不出来,求大侠们帮忙.命令如下:MotionEquation=D[u[x,t],{t,2}]-a*D[u[x,t],{x,2}]-b*D[u[x,t],x]*D[u[x,t],{x,2}]==0;DSolve[MotionEquation,u[x, 非线性电子电路用英语怎么说