04-23-2021 07:23 AM
Hello everyone,
I have a problem. My signal is in the peak form. I would like to have regular time intervals, which is not always the case.
Is there an option to transform the time axis (in order to always have even intervals), and to keep the signals as close to the signals I already have, with the interpolation of missing points.
What is the best approach?
Thank you for your help 🙂
04-23-2021 10:31 AM
I don't know what it means for a signal to be "in the peak form".
If it's not a real-time analysis that you're doing, just use interpolation.
Functions -> Mathematics -> Interpolation and Extrapolation -> Interpolate 2D Scattered
04-23-2021 11:09 AM - edited 04-23-2021 11:14 AM
Create an evenly spaced ramp and use interpolate 1D array.
Not sure what the data structure is of your current data, but if you make it an array of xy clusters, it will simplify things.
What is "peak form"??? I am not familiar with that term.
(Here is an old example. Note that the x values don't need to be spaced equally for the original data.)
04-28-2021 03:24 AM
Hello,
I have uploaded an image where you can see how peaks can look.
I need equal time intervals, with as low as possible change in shape of the signal.
Thank ypou for your help.
04-29-2021 10:39 AM
Your image does not help at all.
The shape does not really matter as long as you have sufficient points to define the shape (and we cannot tell how many points there are). Have you tried my earlier suggestion?
If you want specific help, attach your VI and some typical data.