Filter using matlab. Help

Status
Not open for further replies.

microelectronics

Member level 1
Joined
Aug 6, 2009
Messages
39
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Location
johor
Activity points
1,657
Hi guys , i need some advice/tips/guidance. Pls share.

So , i am supose to design a low pass filter with a certain cutoff frequency
and i'm suppose to filter those high frequency component of the sound in time domain(convolution) and freq domain(multiplication).

So , i am not sure how to do it..i took a snippet from some song , at about 2sec.
How do i filter out the high frequency component??

i written a low pass filter code. : ( not sure issit like this or not , help me check pls )

cf = 2000;

n = [0:997];
t = n/cf;
N = length(t);
f = n*cf/N;
hf = [ones(1,333) zeros(1,333) ones(1,332)];

i do not know whats next... pls show some guidance.
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…