IFFT of Bandpass signal data
5 views (last 30 days)
Show older comments
Dear Sir,
I am having a data from VNA which is in the frequency range of 5-10 GHz and i want to take its inverse FFT but taking its IFFT in normal way of MATLAB does not give the corect solution
[Merged from duplicate question]
Sorry I could not get what u ask that "what is the arrangement of the data". I have data in the form of complex valuesand could not tell u what is the correct data. I am doing a project on Microwave permittivity reconstruction for which i have wavenumber domain Reflection coefficient which on taking inverse fourier transform converts to distance domain so the problem is that my algorithm is correct as when i am taking frequency vector from zero to 10 GHz then the results caome correctbut as i take th frequency vector from 5-10 GHz thye results go wrong due to wrong ifft calculation. I you want i can give you my MATLAB code for ifft calvulation so that you can please help me to correct it.
0 Comments
Answers (7)
Walter Roberson
on 5 Jan 2012
Is the frequency data in equal sized frequency bins, with all the bins starting from the constant term and all of the 0 bins?
Is the frequency data in "mirrored" format such as fft() produces, or is it arranged with the constant term at the center, or is it just one half of the fft output without the mirror image?
What difference do you see between what you get and what you expect?
0 Comments
AK
on 5 Jan 2012
1 Comment
Walter Roberson
on 5 Jan 2012
Okay, that answers half of one of the questions I posed, but none of the others...
Walter Roberson
on 6 Jan 2012
Instead of posting new copies of the question, answer what has been asked of you already: what is the arrangement of the data, and what is the difference between what you expect and what you get?
0 Comments
Walter Roberson
on 16 Jan 2012
Posting new copies of the question will not help.
- Assume we have no idea what a VNA is and that we were too lazy to research it
- Assume we have no idea how you have configured the VNA (whatever that is)
- does the data have all the fft bins starting from the constant term and all of the bins whose value is 0 ?
- is the frequency data in "mirrored" format such as fft() produces, or is it arranged with te constant term at the center, or is it just one half of the fft output without the mirror image?
- What is the difference between what you get and what you expect? Do not just say that it is "wrong"
- Upload images. Upload sample data files if you need to (but if you do, tell us the binary file format). http://www.mathworks.com/matlabcentral/answers/7924-where-can-i-upload-images-and-files-for-use-on-matlab-answers
Walter Roberson
on 9 Feb 2012
There is no way to solve the problem without answers to the questions I asked on 16 Jan 2012.
You will find the upload locations given twice above, once on Jan 6, 2012, and once on Jan 16, 2012.
Email that requests a Return Receipt will usually be deleted before being read.
0 Comments
Walter Roberson
on 11 Feb 2012
Making a whole series of assumptions:
total_gama = [0, zeros(size(gama)), gama, conj(fliplr(gama)), zeros(size(gama))];
r_ifft = ifft(total_gama);
This code will create an output that has an odd number of points, not an even number of points.
It appears that to get out an even number of points, then:
total_gama = [0, zeros(size(gama)), gama, conj(fliplr(gama(2:end))), zeros(size(gama))];
r_ifft = ifft(total_gama);
If the original signal was complex-valued then all bets are off: the dfft() of a complex signal is not conjugate-symmetric.
0 Comments
See Also
Categories
Find more on Spectral Measurements in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!