How to do band pass filtering?

2 views (last 30 days)
sheno39
sheno39 on 29 Oct 2013
Commented: David Sanchez on 29 Oct 2013
i have to do band pass filtering and contrast normalization in image to get the raw image pixels

Answers (1)

David Sanchez
David Sanchez on 29 Oct 2013
%By-pass filter with trnasfer function ( change as you please)
% 1000 s
%--------------------------
%100 s^2 + 11000 s + 100000
%define the variable
s=tf('s');
%Wite the transfer function
Hs=(1/((s/100)+1))*(((s/1000)/((s/1000)+1)));
%plot the filter
figure (1)
bode(Hs)
grid
title('By-pass filter')
figure (2)
pzmap(Hs)
grid
title('poles and zeros of By-pass transfer function')
  1 Comment
David Sanchez
David Sanchez on 29 Oct 2013
the given example has low cut-off frequency at 100 Hz and high cut-off frequency at 1000 Hz.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!