Re: Resample Waveforms (single shot): Pair of X and Y Arrays - Interpolation Mode?

2004-05-25 Thread matthias.richwin
Hi, good point. But we have some noise, so low pass filtering is really desirable. I will try the two-step process. Thanks a lot, Matthias

Re: Resample Waveforms (single shot): Pair of X and Y Arrays - Interpolation Mode?

2004-05-25 Thread matthias.richwin
One further question regarding spline: Is that suitable when I try to drastically reduce the sampling frequency of my data? I.e., I have data at 1 kHz, and reduce it to 5 Hz. Linear interpolation just interpolates between the two neighbouring points AFAIK. What about splines in this context? Matth

Re: Resample Waveforms (single shot): Pair of X and Y Arrays - Interpolation Mode?

2004-05-25 Thread LocalDSP
In your case (with a very high decimation order), linear interpolation may be a good choice, assuming that the bandwidth of your signal is low compared to the input sample rate. Another idea, if you really need the aliasing rejection that the FIR filter mode offers you AND your sample rate of 1 kH

Re: Resample Waveforms (single shot): Pair of X and Y Arrays - Interpolation Mode?

2004-05-25 Thread LocalDSP
Yes the three other options "coerce", "linear" and "spline" all work for un-equally spaced (XY type) input data. Actually the FIR option should have been disabled and grayed-out. Thank you for pointing that out.

Re: Resample Waveforms (single shot): Pair of X and Y Arrays - Interpolation Mode?

2004-05-25 Thread matthias.richwin
Hi LocalDSP, I will try spline. So for x/y-pairs, coerce, linear and spline are supported? Thank you very much for your fast help! Regards, Matthias

Re: Resample Waveforms (single shot): Pair of X and Y Arrays - Interpolation Mode?

2004-05-25 Thread LocalDSP
The FIR Filter mode interpolation only works for equally spaced input samples. So the feature is not supported when the input signal is XY data. The default used is, as you noticed, linear interpolation. I'll suggest you to try the Spline (cubic) interpolation as an alternative. It is a good alrou

Resample Waveforms (single shot): Pair of X and Y Arrays - Interpolation Mode?

2004-05-25 Thread matthias.richwin
Hi all, I am currently trying to resample x/y-data. In the waveform utilities, there is a polymorphic routine that is able to perform resampling on pairs of x and y arrays. So far, that's fine. However, when using the waveform version of the polymorphic vi, I can set i.e. FIR filtering and the co