LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

simple curve fit

Hi,
I am writing a VI where i want to do a curve fit, I have an X and an Y array
and want to do a simple curve fit, the fit has to be exponential. I've
looked up the examples but i doesn't get it to work? Can anyone give me a VI
where there's an X and Y in and a fitted X and Y out? Thanks in advance!

Best Regards,
Thijs
0 Kudos
Message 1 of 2
(2,351 Views)
Exponential Fit.vi, which is found on the curve fitting palette should work. It takes an X an Y array in and gives you a Y array out. You don't need a fitted X out, because X isn't fitted. Just use the same X array that you used as the input. If this still isn't working for you, post a VI that contains the data you are trying to fit (use the menu option: Operate >> Make Current Values Default to save the data in the VI's controls or indicators).

Good luck,

Jim
0 Kudos
Message 2 of 2
(2,351 Views)