% directory where the WAV-files of the birds are stored: dpath = fullfile(mildatapath,'birds'); fname = 'PC13_20090531_050000_0.wav'; %fname = 'PC8_20090531_050000_99.wav'; [signal,fs] = wavread(fullfile(dpath,'wavs',fname)); [S,f,t] = spectrogram(signal,512,256,[],fs); figure(2); clf; showspec(S,f,t); figure(3); clf; showspec(imag(S), f,t);