Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

one program about fft and hamming window for amoothin the...

Status
Not open for further replies.

farhadtehrani1

Newbie level 2
Joined
Aug 30, 2006
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,297
one program about fft and hamming window for amoothin the wave file...


[x,fs]=wavread('1.wav');
x(17824:18000)=0
for k=1:90
y=x((200*k-199):200*k)
fff=fft(y,1024)
fff(129:897)=0
iff=ifft(fff,1024)
sum(200*k-199:200*k,1)=iff(1:200,1)
end;









for k=1:180
n((100*k-99):100*k,1)=0
m=m(1:(18100-100*k-200),1)
ham1=[n;ham;m]
y=x.*ham1
y=y(100*k+1:(100*k+200))
fff=fft(y,1024)
fff(129:897)=0
iff=ifft(fff,1024)
iff=iff(1:200)
sum((100*k+1):(100*k+200))=sum((100*k+1):(100*k+200))+iff(1:200)


sum(1:18100,1)=0
[x,fs]=wavread('1.wav');
o(1:100,1)=0
x=[o;x]
x(17824:18100)=0
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top