Filter Design from Weighted coefficient.

2 views (last 30 days)
Vijender
Vijender on 29 Aug 2014
Commented: Honglei Chen on 1 Sep 2014
Hello all, I want to design a filter to get input signal. For that i have find the coefficent of an inverse of unknown filter and from these coeffiecents i want to design a filetr. But i don't have any clue how to design a filter from given coefficients in matlab. One way that i know is if i have coefficient of filter, using that i will make a linear equation (i.e FIR equation) and using that i will make filter. But this procedure is too lengthy (i think). So is there any inbuilt function available in matlab to design a filter using impulse response (coefficient).
Please help

Answers (1)

Honglei Chen
Honglei Chen on 29 Aug 2014
The impulse response coefficients is your FIR filter.
  2 Comments
Vijender
Vijender on 1 Sep 2014
I get impulse response from using inverse adaptive filter method. But in MATLAB, there is a function "filter" for filtering the data. But this command not working in my case. Problem: Let say input data of a filter is 'x' and the filter coefficient are h[n]= [0.23, -0.43, -0.13, 0.17, ..............]. How do i procedd for this problem.
Honglei Chen
Honglei Chen on 1 Sep 2014
For an FIR, it's
y = filter(h,1,x)

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!