LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

data analysis

hi,
I was wondering if I could get some help for data analysis in Labview
I want to analyze two X Y plots which do not fit completely in the
same interval ( along the X axis : ex:
plot 1 5..100 plot 2 -10..50)
then how can I find out the difference for values
say at -3 when interpolating is not very productive - I needed 30
order polynomial for that . so I decide to use the graph to do the
calculation.
thanks
ananth
0 Kudos
Message 1 of 2
(2,681 Views)
You need to merge the two datasets to get a single set, that can then be
interpolated.

A brute force and simple to explain approach is to repackage the data as a
pair of 1D arrays, where each array holds clusters of an X and a Y
coordinate. Append these arrays, then sort them using the 1D Array Sort
function- if the X coordinate is first in the cluster, then this is what
will be sorted. This gives you a single dataset that you then just have to
repackage into a form you can interpolate.

There are more elegant ways if you look back in the archives for messages
about sorting multidimensional arrays.


ananth wrote in message
news:3a1a4ae4@newsgroups.ni.com...
>
> hi,
> I was wondering if I could get some help for data analysis in Labview
>
I want to analyze two X Y plots which do not fit completely in the
> same interval ( along the X axis : ex:
> plot 1 5..100 plot 2 -10..50)
> then how can I find out the difference for values
> say at -3 when interpolating is not very productive - I needed 30
> order polynomial for that . so I decide to use the graph to do the
> calculation.
> thanks
> ananth
>
0 Kudos
Message 2 of 2
(2,681 Views)