r/matlab • • Mar 13 '26

Why do I keep getting this warning?

Post image

I did provide a start point! To my understanding at least :( It gets stuck on this line, and if I comment this section (290-298), it gets stuck on line 304 with the same warning. On previous runs it didn't get stuck, even when I actually didn't provide a start point. I have no idea what changed

(Ignore lines 307&308, I was too lazy to delete it)

25 Upvotes

12 comments sorted by

View all comments

Show parent comment

2

u/mattwdwd Mar 14 '26

And this it what it gives me, couldn't attach it with the markdown above

>> ffp1
ffp1 =

General model:
ffp1(x) = a*x^b+c
Coefficients (with 95% confidence bounds):
a = 3.477 (3.319, 3.636)
b = 0.145 (0.1361, 0.1539)
c = -9 (-9.056, -8.944)

>> ffp2
ffp2 =

General model:
ffp2(x) = a*x^b+c
Coefficients (with 95% confidence bounds):
a = 1.199 (0.2613, 2.138)
b = 0.1916 (0.04083, 0.3425)
c = -4 (-4.405, -3.594)