| 查看: 1494 | 回复: 8 | ||
| 当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖 | ||
quan_zhang银虫 (小有名气)
|
[交流]
【求助】matlab用lsqnonlin非线性拟合的问题【已解决】 已有1人参与
|
|
» 本主题相关价值贴推荐,对您同样有帮助:
matlab 求指点 动力学方程拟合过程中导数的获取
已经有10人回复
lsqnonlin函数拟合微分方程组参数拟合问题
已经有10人回复
matlab非线性参数拟合问题
已经有7人回复
50金币求一MATLAB的拟合程序
已经有11人回复
MATLAB编程,非线性拟合。
已经有4人回复
【求助】急求关于matlab做非线性拟合的函数
已经有8人回复
【求助】二元函数拟合
已经有12人回复
【求助】使用Matlab预估动力学方程问题
已经有13人回复
quan_zhang
银虫 (小有名气)
- 应助: 0 (幼儿园)
- 金币: 365.4
- 散金: 12
- 红花: 1
- 帖子: 134
- 在线: 41.6小时
- 虫号: 864139
- 注册: 2009-10-06
- 专业: 金属结构材料
7楼2010-10-28 09:43:51
quan_zhang
银虫 (小有名气)
- 应助: 0 (幼儿园)
- 金币: 365.4
- 散金: 12
- 红花: 1
- 帖子: 134
- 在线: 41.6小时
- 虫号: 864139
- 注册: 2009-10-06
- 专业: 金属结构材料
3楼2010-10-26 15:39:08
change0618
铁杆木虫 (著名写手)
方丈大师
- 应助: 44 (小学生)
- 金币: 17724.5
- 红花: 17
- 帖子: 2413
- 在线: 546.7小时
- 虫号: 496517
- 注册: 2008-01-19
- 专业: 化学反应工程
quan_zhang(金币+1): 2010-10-27 09:15:46
quan_zhang(金币+1): 2010-10-27 09:16:08
quan_zhang(金币+1): 2010-10-27 09:16:08
|
X = LSQNONLIN(FUN,X0,LB,UB) defines a set of lower and upper bounds on the design variables, X, so that the solution is in the range LB <= X <= UB. Use empty matrices for LB and UB if no bounds exist. Set LB(i) = -Inf if X(i) is unbounded below; set UB(i) = Inf if X(i) is unbounded above. |
4楼2010-10-26 17:40:52
lidaxue
木虫 (正式写手)
之乎者也
- 应助: 10 (幼儿园)
- 金币: 1952.1
- 散金: 612
- 红花: 2
- 帖子: 527
- 在线: 856.1小时
- 虫号: 259962
- 注册: 2006-06-17
- 性别: GG
- 专业: 几何学
quan_zhang(金币+2): 2010-10-27 09:16:03
quan_zhang(金币+2): 2010-10-27 21:15:11
quan_zhang(金币+2): 2010-10-27 21:15:11
|
function seqcurvefit11 clear all; load seqdata; beta0=[0.005 0.001]; lb=[0 0];ub=[inf inf]; [beta,resnorm,residual,exitflag,output,lambda,jacobian] = ... lsqnonlin(@seqfun,beta0,lb,ub,[],t,c); function y = seqfun(beta,t,c) ca=exp(-beta(1)*t); cb=beta(1)/(beta(2)-beta(1))*(exp(-beta(1)*t)-exp(-beta(2)*t)); y=[ca-c(:,1) cb-c(:,2)]; 楼主 依葫芦画瓢吧~ |

5楼2010-10-26 18:48:56













回复此楼