photo

Jinglei


Last seen: 2年弱 前 2022 年からアクティブ

Followers: 0   Following: 0

統計

  • Thankful Level 2

バッジを表示

Feeds

表示方法

質問


Modeling of one independent variable with different ranges
I want model three groups of data which share the same independent variable but different ranges and different amounts of points...

2年弱 前 | 0 件の回答 | 0

0

回答

質問


I am confused about why my code doesn't lead to a fitting result.
x=[0 1 2 3 4 5 6 7 8 9 10] xs = 0:0.01:120; y=[0 4 9 16 25 36 49 64 81 100 121] myfunc=@fitting; rng('shuffle'); best_r = i...

約2年 前 | 2 件の回答 | 0

2

回答

質問


I am confused by the error: "Error evaluating inline model function"
myfunc=inline('fitting(c,x)','c','x'); c0=[1.5,1.5]; c=nlinfit(x,y,myfunc,c0) function ytotal = fitting(c,x) xspan = x; ...

約2年 前 | 1 件の回答 | 0

1

回答

質問


initial point is a local minimum. Optimization completed because the size of the gradient at the initial point is less than the default value of the function tolerance.
I just found the result not the optimum and the parameters obtained are always the initial ones. global c xdata = [0 ...

約2年 前 | 1 件の回答 | 0

1

回答