IFFT of Bandpass signal data
조회 수: 5 (최근 30일)
이전 댓글 표시
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
답변 (7개)
Walter Roberson
2012년 1월 5일
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
AK
2012년 1월 5일
댓글 수: 1
Walter Roberson
2012년 1월 5일
Okay, that answers half of one of the questions I posed, but none of the others...
Walter Roberson
2012년 1월 6일
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
Walter Roberson
2012년 1월 16일
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
2012년 2월 9일
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
Walter Roberson
2012년 2월 11일
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
참고 항목
카테고리
Help Center 및 File Exchange에서 Spectral Measurements에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!