LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Again a non linear curve fit

Solved!
Go to solution

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

Download All
0 Kudos
Message 1 of 3
(2,684 Views)
Solution
Accepted by topic author matjes

Try changing your variables to be lower case.

 

-Jim

0 Kudos
Message 2 of 3
(2,663 Views)

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

0 Kudos
Message 3 of 3
(2,647 Views)