LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

equcation

Hi all,
 
I have a problem with the calculation of an equcation.
The equcation is y=d0+d1*c+d2*x+d3*x^2 where c is a known constant and x is a series of points( an array).
Then, I would like to calculate the values of y and use the regression graph to calculate back the d0,d1,d2 and d3.
 
Actually is it possible to it?Smiley Sad
 
Thanks in advance
Io
 
0 Kudos
Message 1 of 5
(3,166 Views)

Hi IO,

how do you want to calculate the y value without knowing the values of d0 to d3? Or is y the index of your x Array * dt?

Mike

0 Kudos
Message 2 of 5
(3,159 Views)

Dear Mike,

Thanks for your reply.

Actually in the first place, I think I have a series of x then I use those x to calculate the variation of y because the coefficients are constant .But I  forget the most impaortant part is the y is not  constant indeed.As a result of that, the equcation is not possible for the solution.I am sorry that I have made a terrible mistake.

Now, I will look at the equcations to calculate the y values first.then, use teh regression graph to calculate back the coefficients.

Thanks a lot.Smiley Happy

Io

0 Kudos
Message 3 of 5
(3,151 Views)

Hi IO,

to calculate the y values you can use the LabView functions. See the attched example. Hope this helps.

Mike

0 Kudos
Message 4 of 5
(3,146 Views)

Dear Mike,

Thanks for your reply.

The VI is very useful.Thanks a lot.

Io

0 Kudos
Message 5 of 5
(3,136 Views)