leblanc_fdemo - % % % % % % % % James P. LeBlanc Professor...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
% James P. LeBlanc % Professor of Signal Processing % Systemteknik % Luleå Univ. of Tech % SE-971 87 Luleå, Sweden % % Send fame and fortune to james.leblanc@ltu.se !!! % clear c FILE = 'AllStar.wav' % input wavefile name F n = 2^18; % number of samples to use % (power of two makes for fast FFT's!) fs = 44100; % sample frequency START= 75*fs; % sample number to start at % (avoids silence at start of many songs) [x,FS,NBITS] = wavread( FILE ,[START START+n]); [ x = x(1:n); x=x'; X = fft(x); X [junk,I] = sort(abs(X));
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 10/10/2009 for the course ECE 340 taught by Professor Djordjevic during the Fall '08 term at University of Arizona- Tucson.

Ask a homework question - tutors are online