photo

Jinglei


Last seen: mer än 2 år ago Active since 2022

Followers: 0   Following: 0

Statistics

MATLAB Answers

4 Questions
0 Answers

RANK
172 883
of 299 737

REPUTATION
0

CONTRIBUTIONS
4 Questions
0 Answers

ANSWER ACCEPTANCE
50.0%

VOTES RECEIVED
0

RANK
 of 20 791

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK

of 165 655

CONTRIBUTIONS
0 Problems
0 Solutions

SCORE
0

NUMBER OF BADGES
0

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Highlights

AVERAGE NO. OF LIKES

  • Thankful Level 2

View badges

Feeds

View by

Question


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...

mer än 2 år ago | 0 answers | 0

0

answers

Question


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...

mer än 2 år ago | 2 answers | 0

2

answers

Question


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; ...

mer än 2 år ago | 1 answer | 0

1

answer

Question


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 ...

nästan 3 år ago | 1 answer | 0

1

answer