> >
> >hi,
> >
> >if i have a transfer function for my filter in frequency domain, how
m
> >able to convert this transfer function to filter coefficients in
> >matlab(m-file)?
> >
> >any help will be greatly appreciated.
> >
> >regards
> >
> >
> >This message was sent using the Comp.DSP web interface on
> >www.DSPRelated.com
> >
>
> One simple way is to perform an ifft (inverse fft). Next you will
need to
> window the result by a dot product of your window of choice in the
time
> domain. This will get you close to the answer you want. The
windowing is
> key and may want to try a hanning window.
>
>
>
>
> This message was sent using the Comp.DSP web interface on
> www.DSPRelated.com
In general you will get complex coefficients if you do that. If a real
valued filter is desired, the input to the IFFT must be
conjugate-symmetric around DC.
John
Reply by michaelkre●May 8, 20052005-05-08
>
>hi,
>
>if i have a transfer function for my filter in frequency domain, how m
>able to convert this transfer function to filter coefficients in
>matlab(m-file)?
>
>any help will be greatly appreciated.
>
>regards
>
>
>This message was sent using the Comp.DSP web interface on
>www.DSPRelated.com
>
One simple way is to perform an ifft (inverse fft). Next you will need to
window the result by a dot product of your window of choice in the time
domain. This will get you close to the answer you want. The windowing is
key and may want to try a hanning window.
This message was sent using the Comp.DSP web interface on
www.DSPRelated.com
Reply by Fred Marshall●May 7, 20052005-05-07
"elbib00" <elbib00@hotmail.com> wrote in message
news:Y7idnbOSVrrjfuffRVn-oQ@giganews.com...
>
> hi,
>
> if i have a transfer function for my filter in frequency domain, how m
> able to convert this transfer function to filter coefficients in
> matlab(m-file)?
>
> any help will be greatly appreciated.
>
> regards
To create *any* file of coefficients first requires that you have the
coefficients.
So, how do you convert a frequency response to a set of filter coefficients?
Assuming it is an idealized response or one of unknown orgin:
A filter design procedure perhaps?
If you have the identical frequency response of an actual filter and it is
periodic. Then an IFFT of the filter frequency response would give you the
coefficients of a FIR filter
Fred
Reply by rutiger●May 7, 20052005-05-07
I suspect that you will get more of a response by posting this question
to a MATLAB group.
Reply by elbib00●May 6, 20052005-05-06
hi,
if i have a transfer function for my filter in frequency domain, how m
able to convert this transfer function to filter coefficients in
matlab(m-file)?
any help will be greatly appreciated.
regards
This message was sent using the Comp.DSP web interface on
www.DSPRelated.com