LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Sorting out 2D array by condition

Solved!
Go to solution

Nice finding!
I'm taking part in a lab exercise and got those results as data. I thought to do analysis for the data with LabVIEW, although not required. I will check this matter, but I am trying to do the sum as mentioned before with legacy device but with no meaningful progress so far. Any lead you could give me?

0 Kudos
Message 11 of 16
(1,018 Views)

Well, how about attaching the second datafile so we have something to work with?

0 Kudos
Message 12 of 16
(1,010 Views)

Attached is the 2nd data file.
I tried to sort the arrays using the following sequence-

tomershtein_0-1620623469694.png

But I got weird values back. Input are both columns of frequencies and the common values should enter new array in the output.

0 Kudos
Message 13 of 16
(1,001 Views)

Wouldn't it make much more sense to generate a suitable equally spaced linear frequency ramp, the use it to interpolate into the two datasets?

0 Kudos
Message 14 of 16
(995 Views)

Your probably right, but how linearly set the between values?

0 Kudos
Message 15 of 16
(992 Views)
Solution
Accepted by topic author tomershtein

Here's one simple possibility. Do it for both input files and combine the data. (Note that you probably want to apply a slight smoothing filter before interpolation. Not shown)

 

Of course you can create any ramp you like.

 

0 Kudos
Message 16 of 16
(985 Views)