annuler
Affichage des résultats de 
Rechercher plutôt 
Vouliez-vous dire : 

setting zero reference line to multiple points

Résolu !
Accéder à la solution

I have multiple x,y points.  I would like to chose 2 y points and set them to zero as a reference line, then calculate the deviation of all other points from this reference line.  Does labview have a function that can do this.  Thanks.

0 Compliments
Message 1 sur 5
3 259 Visites
Like a regression analysis?  Look at all the VI's under probability and statistics on the mathematics palette.
0 Compliments
Message 2 sur 5
3 256 Visites
Thanks, I took a look.  I just want to select 2 points in my data, set them to zero, and reference all other points to this straight line.
0 Compliments
Message 3 sur 5
3 247 Visites
Solution
Accepté par l'auteur du sujet jonhelpmejon
Just do a linear fit to the two points and subtract the result from all of the data points.  See example (quick and dirty and potentially buggy).
Message 4 sur 5
3 236 Visites

Thanks Darin

 

0 Compliments
Message 5 sur 5
3 232 Visites