about non linier regression

1 次查看(过去 30 天)
Skydriver
Skydriver 2017-12-19
I have a formula to get Nonlinear regression. But I have a problem to define tbl and b. May be is there anybody can help me to solve my problem.
Thx.
tbl = table(Amax,Mw,Vs, Depth, Distance); modelfun = (@(b,RegAll)b(1) + b(2)*RegAll(:,1)+b(3)*RegAll(:,2)+b(4)*RegAll(:,3))/(b(5)+b(6)*exp.^(b(7)*RegAll(:,4)+b(8)*RegAll(:,5))); beta0 = [-3 0.9 0.05 0.3 0.1]; mdl = fitnlm(tbl,modelfun,beta0);

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Regression 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by