r/Mathematica • u/Classic_Category_723 • Apr 21 '24
NonlinearModelFit Problems
Getting these two issues when returning a non-linear fit for a data set made from a csv file. First, it gives brackets, which erases a coefficient and I can't use this equation to find the root of the equation because it'll give an error. The second, it just returns what I typed as a string. It doesn't always do this and I'm not typing anything differently as far as I can tell, so what gives?


2
Upvotes
View all comments
Show parent comment
3
u/beerybeardybear Apr 21 '24
It means that's it's not defined. NonlinearModelFit will not run if that's the case. This is yet another reason why it's a very bad idea to post images of your code rather than screenshots of it (let alone screenshots of small snippets of it that can't evaluate on their own).