T O P I C R E V I E W |
Poffel1985 |
Posted - 10/21/2015 : 09:24:58 AM Hi, i'm using Origin 2015. I want to use a FFT bandblock filter for my data. At the moment I use the following script: fft_filters -r 2 filter:=bandblock freq1:=val1 freq2:=val2; Unfortunately my x-axis is nonlinear/not equidistant. Therefore, the result is not correct. I don't want to interpolate my data before filtering. Is there an easy option to do a nonlinear FFT/NFFT using a labtalk script? (I'm using Labview and execute labtalk commands)
I also looked at: http://www.originlab.com/doc/OriginC/ref/fft_real However, I was not able to test this (command errors).
best regards |
2 L A T E S T R E P L I E S (Newest First) |
Poffel1985 |
Posted - 10/22/2015 : 08:19:44 AM Ok, thank you. I will try this way |
Shirley_GZ |
Posted - 10/22/2015 : 03:15:56 AM Hi,
For your case, you need first do interpolation to make the X values be uniformly-spaced, although you said you don't want to interpolate your data. Since you are using LabVIEW, you can use the X-Function below to write and run LabTalk script to interpolate your data and perform FFT Filtering:
http://www.originlab.com/doc/X-Function/ref/interp1xy
Thanks, Shirley
Originlab Technical Service Team |
|
|