LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Signal processing

Solved!
Go to solution

Hi,

I want to graphically represent the data in the file using the first value as the reference value (origin). Thus the values will be n1, n2-n1, n3-n1, ...., nn-n1. If you can help me with an idea related to how I could do this, then to do wavelet analysis of the signal, would be great. Thank you.

Download All
0 Kudos
Message 1 of 4
(2,269 Views)

 

sebs.png

 

Message 2 of 4
(2,249 Views)
Solution
Accepted by MP21

@MP21 wrote:

Hi,

I want to graphically represent the data in the file using the first value as the reference value (origin). Thus the values will be n1, n2-n1, n3-n1, ...., nn-n1. If you can help me with an idea related to how I could do this, then to do wavelet analysis of the signal, would be great. Thank you.


Are you certain this is what you want to do?  If you want to shift the origin to the first value (which I think you call n1), then you would subtract n1 from all of the numbers, so your transformed array would be n1-n1, n2-n1, ..., that is, the first value would be 0, not n1.  This can easily be done by subtracting n1 (gotten by doing an index on the array, which (by default) returns the first (index 0) value) from the entire Array (you can subtract a scalar, here n1, from an entire array using the Subtract function).

 

Bob Schor

Message 3 of 4
(2,230 Views)

Thank you for your help and involvement!

0 Kudos
Message 4 of 4
(2,203 Views)