03-21-2013 10:07 AM
Hello,
I am pretty new to LabVIEW. My boss gave me a programm to read in the thermal noise of a cantilever and I am trying to fit following function to it:
(A/f) + B + ((S*v^4)/((Q^2*(v^2-f^2)^2)+(v*f)^2)) (see also the attachment)
For this I am trying to use the non linear fit function offered in LabVIEW but I get an error stating that there is a wrong letter or undefined variable. Since I tried to fit the same function in MATLAB to the same data set, which worked out fine, I guess there is a logical problem behind it.
I would appreciate it if someone could help me with this problem.
thanks a lot
Solved! Go to Solution.
03-21-2013 10:38 AM
Try changing your variables to be lower case.
-Jim
03-21-2013 11:05 AM
Hi,
thank you for the suggestion. It really seemed to be the problem.
However, now I get an error that there is an element with "Inf, NaN, DBL_MAX, or DBL_MIN".
Well, let's see if I can find out what's wrong there.
thanks again