12-09-2010 05:35 AM
Hi Lynn,
thanks for your reply! I pretty much did the same thing what you described, with all the help I could gather from the forum topics.
So first I interpolated my time vector using the method Franz used and described in this thread (I used the Compute Y's for equidistant Xn's.vi😞
After creating the equally spaced time vector I could already carry out the interpolation of the X/Y vectors using the method you suggested; so I used the Resample Waveform VI to resample my arrays to a fixed size, and I removed the trailing zeros at the end of these vectors by wiring true at the open interval input. Although I ended up with a slightly (couple of elements) shorter array this way, I chose to rather chop the arrays by this small number of elements, since I interpolated to a quite high size (unfortunately it's not a fixed site either, so I had to implement an 'adaptive chopping algorithm'), so the infomartion loss is not relevant. I know this is not nice at all, but it worked for me quite well, and did the job I needed! 🙂
So with the interpolated time/X/Y vectors I could already create the calculations in the time domain (basic amplitude and error measurements, plus the same thing in polar) but I still need to make the analysis of the spirals in the frequency domain. That shouldn't be or at least I hope it won't be that difficult with all these results at my hand.
Thanks again for your help and I hope my method makes sense! 🙂
Cheers,
Attila
12-09-2010 07:59 AM
Hi Lynn -
Can you provide an example VI that shows the best way to interpolate 1d array with unequally spaced data?
Thanks,
Don