07-19-2018 04:56 AM
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.
Solved! Go to Solution.
07-19-2018 05:30 AM
07-19-2018 07:17 AM
@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
07-20-2018 02:59 AM
Thank you for your help and involvement!