Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
T O P I C R E V I E W
kemeyer
Posted - 07/15/2010 : 10:20:26 AM Origin Ver. and Service Release : 8.1 SR1 Operating System: Vista
Hi,
I am trying to define a fitting equation for some data I have. The equation I am trying to add is called the Sellmeier Equation, and the form of it that I wish to use is:
n^2= A + B*Lambda^2/(Lambda^2-C) + D*Lambda^2/(Lambda^2-E)
When I tried to define the equation using the fitting function organizer, I typed it in as:
y = sqrt(A + B*Lambda^2/(Lambda^2-C) + D*Lambda^2/(Lambda^2-E))
and it compiled in the code builder. For the independent variables I put Y, for the dependent variables I put Lambda, and for the parameters I put A, B, C, D, E.
When I ran the fitting function to fit my data, I didn't get a fit. It said that I need to initialize my variables, so I went back and under the parameter tab I entered values into the value boxes that would be close. Also, I checked the data delection under the settings tab to ensure it was using the data properly. I still can not get my function to work...could someone help me? This is the data I have...