| 4 | 1/1 | 返回列表 |
| 查看: 627 | 回復: 3 | |||
sara_ecust新蟲 (小有名氣)
|
[求助]
matlab擬合參數 已有1人參與
|
|
已知PA0 T x t dx/dt=k*(PA0*(1-x))^n 根據已知的數擬合k 和n 程序在附件中,就一直出現 ‘too many input arguments’ 求解決 |
主管區(qū)長 (職業(yè)作家)
![]() |
專家經驗: +1059 |

新蟲 (小有名氣)
|
function biaoguan clear all;clc format long; %global T PA0 tspan x x0 T=[613 633 663]; F0=[15 17.5 20 22.5 25]; %t=0.03/0.78*134/0.004./F0; t=[85.8974 73.6264 64.4231 57.2650 51.5385]; x1=[0.632 0.581 0.540 0.496 0.468]; x2=[0.600 0.551 0.515 0.480 0.451]; x3=[0.551 0.492 0.459 0.427 0.402]; x=[x1;x2;x3]; x0=[0.632 0.600 0.551]; PA0=[0.001865374 0.002289233 0.00239448]; beta0=[1.1e5 100000 1]; lb=[0 0 0]; ub=[inf inf inf]; tspan =t; [beta,resnorm,resid,exitflag,output,lambda,jacobian] = ... lsqnonlin(@Opt,beta0,[],[],[],tspan,x0,T,PA0,x) ci = nlparci(beta,resid,jacobian); beta function f = Opt(beta,tspan,x0,T,PA0,x) [t xc1] = ode45(@Kin,tspan,x0(1),[],beta,T(1),PA0(1),x(1, );[t xc2] = ode45(@Kin,tspan,x0(2),[],beta,T(2),PA0(2),x(2, );[t xc3] = ode45(@Kin,tspan,x0(3),[],beta,T(3),PA0(3),x(3, );f1= xc1' - x(1, ;f2= xc2' - x(2, ;f3= xc3' - x(3, ;f=[f1;f2;f3] % ------------------------------------------------------------------ function dxdt = Kin(t,beta,T,PA0,x) dxdt=beta(1).*exp(-beta(2)./(8.3145*T)).*(PA0.*(1-x)).^beta(3); |
新蟲 (小有名氣)
| 4 | 1/1 | 返回列表 |
| 最具人氣熱帖推薦 [查看全部] | 作者 | 回/看 | 最后發(fā)表 | |
|---|---|---|---|---|
|
[考研] 085600材料與化工調劑 +7 | A-哆啦Z夢 2026-03-23 | 12/600 |
|
|---|---|---|---|---|
|
[考研] 384求調劑 +3 | 子系博 2026-03-22 | 6/300 |
|
|
[考研] 070300化學求調劑 +8 | 苑豆豆 2026-03-20 | 8/400 |
|
|
[考研] 328求調劑 +4 | LHHL66 2026-03-23 | 4/200 |
|
|
[考研] 306求調劑 +9 | chuanzhu川燭 2026-03-18 | 9/450 |
|
|
[考研] 276求調劑 +3 | YNRYG 2026-03-21 | 4/200 |
|
|
[考研] 尋找調劑 +4 | 倔強芒? 2026-03-21 | 4/200 |
|
|
[考研] 求調劑院校信息 +6 | CX 330 2026-03-21 | 6/300 |
|
|
[考研] 0856材料專碩353求調劑 +4 | NIFFFfff 2026-03-20 | 4/200 |
|
|
[考研] 材料與化工(0856)304求B區(qū)調劑 +3 | 邱gl 2026-03-20 | 7/350 |
|
|
[考研] 一志愿深大,0703化學,總分302,求調劑 +4 | 七月-七七 2026-03-21 | 4/200 |
|
|
[考研] 求助 +5 | 夢里的無言 2026-03-21 | 6/300 |
|
|
[考研] 268求調劑 +9 | 簡單點0 2026-03-17 | 9/450 |
|
|
[考研] 265求調劑 +12 | 梁梁校校 2026-03-19 | 14/700 |
|
|
[考研] 085601調劑 358分 +3 | zzzzggh 2026-03-20 | 4/200 |
|
|
[考研] 083200學碩321分一志愿暨南大學求調劑 +3 | innocenceF 2026-03-17 | 3/150 |
|
|
[考研] 294求調劑材料與化工專碩 +15 | 陌の森林 2026-03-18 | 15/750 |
|
|
[考研] 330求調劑 +4 | 小材化本科 2026-03-18 | 4/200 |
|
|
[考研] 304求調劑 +7 | 司空. 2026-03-18 | 7/350 |
|
|
[考研] 288求調劑,一志愿華南理工大學071005 +5 | ioodiiij 2026-03-17 | 5/250 |
|