I have an OFDM signal with 5GHz Bandwidth and would like to filter this signal in amplitude using a filter coefficients defined in certain frequencies values from 0:1:15Ghz. How to do it? Could anyone give suggestions?
Study digital filters. All causal (filters thatdon't use 'future' values of input or output) will also have a phase associated with them (as well as amplitude filtering). For causal digital filters the best you can have is a linear phase (corresponding to a flat group delay). If the filter is not causal (you can use future samples stored in memory) then you can have a digital filter with phase zero. I lecture DSP and digital filters, but it takes me some 8-9 lectures to cover the whole subject... It does not fit here. :-(
Use FIR or IIR filter commands like (fir1,fir2,impinvar,bilinear,etc.,) to produce filter coefficients for your low pass filter (0 to 15GHz). Then you convolve your input signal and filter coefficients.
Ofcourse I understand that I need to make a convolution of my signal with one filter for amplitude or phase filtering. The real point is how to generate amplitude filter only or phase filter only :) Thanks
The symmetric FIR filter that Ming Zhao mentioned will have to be non-causal. By symmetric he means one for which the filter coefficients are an even function around the current sample, i.e., a(1) = a(-1), a(2)=a(-2), etc. It is non causal because a(1) will multiply x(n-1) but a(-1) will multiply x(n+1), a future sample, when you write the convolution.