LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Fourier Transform of a CSV type data

Solved!
Go to solution

I believe/guess it is an optical spectrometer, like one that measure transmission or absorption. Thus measure intensity only, no phase information.

 

mcduff

0 Kudos
Message 21 of 25
(1,069 Views)

This is correct. Optical spectrometer only gives you amplitude vs frequency/wavelength. 

 

I have brought Matlab code here with required imported file ( spectrum data). 

 

Thank you for sharing your thoughts with me. 

 

Sincerely,

 

 

Download All
0 Kudos
Message 22 of 25
(1,061 Views)
Solution
Accepted by Alias110

Your MATLAB code uses a forward FFT on the real data in your CSV file so gives you a complex result.  You then plot the scaled absolute value of this result against time.  I haven't been able to look at your LabVIEW version of this as I'm (still) using 2015, but I can't see this being complicated.  Using FFT.vi should give you the same result and if you set the shift? input to TRUE, this will do the same as the MATLAB fftshift function and put the zero frequency at the centre of the data.  Something like this:

Fwd FFT.png

Still not what I'd call an inverse FFT though!

 

PsyenceFact

Message 23 of 25
(1,053 Views)

+1 to what PsyenceFact said.

 

You need to read up on the fft.

mcduff

0 Kudos
Message 24 of 25
(1,044 Views)

Thanks for all of your helps 

0 Kudos
Message 25 of 25
(1,007 Views)