I have data in a matrix M (4500 x 3).
- 1st column (frequency values ranging 4-10 GHz)
- 2nd column (magnitude)
- 3rd column (phase)
I want to perform two tasks:
1) apply following band pass filter on this frequency domain data.
G = sin(a)/a*sin(n/N) ; a = t*(f-fc)
Where
N = Total number of discrete frequencies n = frequency sample index t = gate width in time domain (1-4 ns) f = frequency in GHz fc = central frequency in GHz
2) how to convert this frequency domain data into time domain data what i believe is that presently values of column 2 and column 3 are in frequency domain. Do i simple write this to convert into time domain
output = ifft(M)
I read matlab documents but could not find method to define this filter.
Best Answer