Nonlinier Regression withExponential Approach.

1 回表示 (過去 30 日間)
Skydriver
Skydriver 2018 年 1 月 4 日
I want to develop an equation from Nonlinier Regression withExponential Approach. My code like this: b1=2; b2=3; b3=0.01; b4=0.25; b5=0.0001; beta0=[b1 b2 b3 b4 b5]; X1=[ones(size(Amax1)) Amax1 Mw1 Vs1 Depth1 Distance1]; Y1=[Ym1]; mdlA = NonLinearModel.fit(X1,Y1,modelfun,beta0) I want to add bootsrap for estimating standard deviation.
yfit=X1*mdlA; resid=Y1-yfit; se= std(bootstrp(regress(yfit+bootr,X1),resid));
The answer is:
Undefined function 'mtimes' for input arguments of type 'NonLinearModel'.
Error in NLRegression (line 33) yfit=X1*mdlA;
Is there any person can help me to do some Nonlinier Regression with exponential approach and combine with Bootstrap.

回答 (0 件)

カテゴリ

Help Center および File ExchangeLinear Regression についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by