Function fit error

Hi,

I am trying to fit my data with the cone shape model. When I fit the data with that model, there was an error stated that "the fitting function returned NaN for at least one X value". I have tried to fix the error but didn't get anywhere. Can someone help me with this problem? I also attached the file containing the cone shape model. Thank you.

Cheers,
Elle
Models for fitting.pxp
Your experiment is missing some procedure files such as "Cone shape model (new).ipf".

You can fix this by adopting files and reposting. For details, execute:
DisplayHelpTopic "Adopting Notebook and Procedure Files"

I still got errors loading the experiment, on this statement which appears multiple times in the procedure files:
#include "IR1_Loader"


Commenting out each occurrence of that line, I can open the experiment.

Now you need to tell us precisely what to do to cause the error. A command to execute would be ideal.


Hi Hrodstein,

I have no idea why there is an error to load the experiment file. Anyway, the problem that I am facing is, every time when I try to fit the data with the cone function that I wrote, there will be an error saying that :

"the fitting function returned NaN for at least one X value"

What should I do to get rid of this error? I have tried to solve it but I am still getting that error. I had a felling that this is not a big issue but still, I don't know why I can't solve it. I hope you can help or lead me to solve this error. Thank you very much.

By the way, I attached the experiment's file once again. Finger crossed it will work this time.

Cheers,
Elle

Models-1.pxp
As I said in my previous post:
Quote:
Now you need to tell us precisely what to do to cause the error. A command to execute would be ideal.