关于给定公式的回归分析出错。
Mostrar comentarios más antiguos
我写了这样了一个回归分析,但是总是提示出错,不知错在哪里,请高手帮我看看啊
t=[1 2 3 4 5 6 7 8 9 10]
y=[1.4294 1.2496 1.2010 1.1972 1.2097 1.2290 1.2521 1.2783 1.3075 1.3398]
fun1=inline('exp((t*v - b*t).^a)./8 + (7*exp((-b*t).^a))./8+1','beta','t') ;
v=beta(1);
b=beta(2);
a=beta(3);
beta=nlinfit(t,y,fun1,[1.2 1.1 1])
运行完了显示??? Undefined function or method 'rr' for input arguments of type 'double'. 求大神,不胜感激
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Legend en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!