annulla
Visualizzazione dei risultati per 
Cerca invece 
Intendevi dire: 

Labview

Knowing the coordinates of the experimental points affected by measurement errors, the coefficients
ac and bc of the regression line are determined using the Linear Fit.vi function in the menu
Mathematics / Fitting.
In addition to the values ​​of the two coefficients, the Linear Fit.vi function generates at the Best Linear output
Fit the values ​​of the Y '' coordinates of the points on the regression line and having the same
X coordinates as the experimental points.
The string of numeric values ​​Y '' is the one used for plotting the third graph.

How can i do that? Thank you!

0 Kudos
Messaggio 1 di 13
3.452Visualizzazioni

You mean something like this?

 

Example.png

Tim
GHSP
0 Kudos
Messaggio 2 di 13
3.430Visualizzazioni

I mean, yeah, something like that, but now i can't find the calculated a and b and the regression line does not appear on the graph.

0 Kudos
Messaggio 3 di 13
3.412Visualizzazioni

Thank you for your time, I solved the problem.

0 Kudos
Messaggio 4 di 13
3.391Visualizzazioni

Maybe something like this instead?

 

altenbach_0-1583999636626.png

 

altenbach_1-1583999737039.png

 

 

Messaggio 5 di 13
3.318Visualizzazioni

@Whifitws wrote:

Thank you for your time, I solved the problem.


When you have solved a problem it is polite to share your solution for the benefit of others who may have the same problem in the future.

0 Kudos
Messaggio 6 di 13
3.299Visualizzazioni

@Whifitws wrote:


The string of numeric values ​​Y '' is the one used for plotting the third graph.

How can i do that? Thank you!


There are no "strings" anywhere. Your descriptions makes about as much sense as your code. I took the liberty to do some alternative interpretations. 😉

 


@aeastet wrote:

You mean something like this?

 

Example.png


 

This also makes no sense at all. Your linear fit is done on two y-values and ten x-values. The inputs need to have the same size.

 


@Whifitws wrote:

Thank you for your time, I solved the problem.


Are you sure? Please let us give a chance to check it. Also, next time please use a more useful subject line. Since this is the LabVIEW forum, every single discussion is about LabVIEW, no need to repeat that in the title. Something like "Simulation of a linear fit" would have been more useful.

 

 

Messaggio 7 di 13
3.277Visualizzazioni

Yes, this is the final result.

15840318955032972611461265289894.jpg

0 Kudos
Messaggio 8 di 13
3.255Visualizzazioni

No, that's not a "result", just an oversized photograph of a monitor showing some LabVIEW code. Attach the VI instead.

0 Kudos
Messaggio 9 di 13
3.246Visualizzazioni

I apologise for the misunderstanding.

0 Kudos
Messaggio 10 di 13
3.227Visualizzazioni