i want frequency domain spectrum of an audio file but i am getting amplitude range upto 0-6000. how can i normalize it? sampling rate is 48kHz

[y,fs,nbits]=wavread('C:\Users\HP\Desktop\s1.wav');
N = length(y);
f = (-1/2:1/N:1/2-1/N)*fs;
plot(f,abs(yfft));

Answers (0)

Categories

Find more on Audio Processing Algorithm Design in Help Center and File Exchange

Tags

No tags entered yet.

Asked:

on 25 Apr 2013

Community Treasure Hunt

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

Start Hunting!