02-02-2020 04:41 PM
At the end I want to obtain an array with the value of the slope and then with max min function I will isolate that values
02-02-2020 04:46 PM
What's the meaning of "isolate"? Just the get the max and min value?
02-02-2020 04:48 PM
Yes, yes I need before all the values of the slope and then only the max and the minimum values of the slope
02-02-2020 08:43 PM
@Gquadro wrote:
Yes, yes I need before all the values of the slope and then only the max and the minimum values of the slope
"array min&max" will do that for you. Have you tried?
(Of course a good programmer will not need to keep all values first just to only keep the min&max at the end. One would do a running min/max. The memory requirements will be N times lower.)
02-02-2020 11:56 PM
Could you help me with this part?
Then I would like to write these values (max and min) in an external file.
02-03-2020 04:07 AM
Hi all,
Attached you can find my .vi
I have two 1D arrays called "x" and "y".
I need to do a linear regression of 60 elements per time and determine the maximum and the minimum angular coefficient of the straight line.
The linear regression has to be done as follow:
1) linear regression for the data from #0 to #59, save the angular coefficient in a new array called "CA" in the position (0,0)
2) linear regression for the data from #1 to #60, save the angular coefficient in the array "CA" in the position (1,0)
3) linear regression for the data from #2 to #61, save the angular coefficient in the array "CA" in the position (2,0)
... till the end of the data into the 1D arrays.
Please Help ME
02-03-2020 04:13 AM
Hi Gquadro,
what's the point to start a new thread for the very same topic?
@Gquadro wrote:
The linear regression has to be done as follow:
1) linear regression for the data from #0 to #59,
2) linear regression for the data from #1 to #60,
3) linear regression for the data from #2 to #61,
Use the PtByPt-DataQueue with a length of 60…
02-03-2020 04:23 AM
could you show me how to do?
02-03-2020 04:36 AM
02-03-2020 04:40 AM
but i can't connect my array with ptbypt data queue