Code covered by the BSD License  

Highlights from
MATLAB 7 Fundamentos

image thumbnail

MATLAB 7 Fundamentos

by

 

09 Aug 2004 (Updated )

Companion Software for the book "MATLAB 7 Fundamentos"

cap4_wavread_exemplo ( )
% cap4_wavread_exemplo
function cap4_wavread_exemplo ( )
[S,fs]=wavread('TestSnd.wav'); % Le 'TestSnd.wav'
subplot(2,1,1)   % Exibe os dois canais
plot(S(:,1))
title('Canal 1')
subplot(2,1,2)
plot(S(:,2))
title('Canal 2')
sound(S,fs)      % Executa audio

Contact us