Skip to content

Commit

Permalink
Update MFCC.m
Browse files Browse the repository at this point in the history
  • Loading branch information
Avani-Agrawal authored Nov 26, 2017
1 parent 10afb8b commit 675b838
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions MFCC.m
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@
% subplot(5,1,2)
% plot(y_new);

for i = 1:num_frames
t = (i-1)*p + 1 : i*p;
interval = y_new((i-1)*p + 1 : i*p );
for ii = 1:num_frames
t = (ii-1)*p + 1 : ii*p;
interval = y_new((ii-1)*p + 1 : ii*p );
filt = interval.*w;
ftransform(t) = dct(filt);
pp(t) = 2595*log(((abs(t))/700) + 1);
Expand Down

0 comments on commit 675b838

Please sign in to comment.