12-04-2011 11:01 PM
I need some help with a homework problem. In our class we are pretty much self teaching ourselves Labview and have received very little guidance, so this may seem simple but I'm completely lost.
I need to plot the following data:
Y: 1.3, 4.6, 17.2, 82.8, 171.5, 1227.0
X: 0.4, 1.0, 2.0, 2.8, 5.1, 9.9
and then determine a suitable least squares fit of the data. We then need to do a bit of statistics on the data and fit the data with 95% confidence.
any help would be huegly appreciated...i need something to get me pointed in the right direction..at least to get the VI built, i can so the stas myself.
Thanks!
12-05-2011 05:25 PM
I would focus your attention on the Mathematics palette, specifically the Fitting palette. I have listed a few resources below that should help ease your learning curve:
NI LabVIEW 101: Video Instruction for Students
Getting Started with NI LabVIEW Student Training
Remember, homework is supposed to be a learning experience, so have fun!
Regards,
Alexander M
National Instruments
01-24-2012 11:03 AM
You already got some good advice, but you should also be careful with terminology.
"Least squares fit" only specifies the analysis, it does not specify the model. (linear, non-linear, etc.)
Do you want a linear least squares fit to the data or some other model (polynomial, etc.)?
Since your data is not spaced equally in X, you need an xy graph to display it. The labVIEW help and the examples shipped with LabVIEW will tell you how to structure the data for it (there are many possibilities).