how to apply highpass, lowpass or bandpass filtering according to the paramaters ?

1 次查看(过去 30 天)
I have to apply filtering to a discrete time function.
Input signal is n-by-1 vector. Sampling frequency is also given in Hz. In addition, lower bound and upper bound of the frequency components in Hz that we want to pass through are given. According to these variables I need to decide which type of filtering to apply. How can I understand which one of the lowpass,highpass or bandpass is going to be applied to the input signal.
I appreciate any help, thank you very much...

采纳的回答

Wayne King
Wayne King 2012-5-16
What are the lower and upper bounds? If the lower bound is 0 and the upper bound is some frequency less than the 1/2 the sampling frequency, that is lowpass, if the lower bound is some frequency greater than 0 and the upper bound is 1/2 the sampling frequency, that is highpass. If the lower and upper bound are greater than 0 and less than 1/2 the sampling frequency, that is bandpass.
  1 个评论
judy  frost
judy frost 2012-5-16
Lower bounds and upper bounds are parameters to my function. Actually I think that your answer was what I needed. According to the entered value I am supposed to apply all three types of filtering.
Thank you so much.
Now I can try implementing these filters.

请先登录,再进行评论。

更多回答(1 个)

srinivasa s r
srinivasa s r 2018-3-7
if true
% code
end

类别

Help CenterFile Exchange 中查找有关 Matched Filter and Ambiguity Function 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by