Code covered by the BSD License  

Highlights from
MATLAB 7 Fundamentos

image thumbnail
from MATLAB 7 Fundamentos by Elia Matsumoto
Companion Software for the book "MATLAB 7 Fundamentos"

cap4_wavrecord_exemplo.m
echo on
% cap4_wavrecord_exemplo
% Frequencia
Fs = 11025; 
% Grava
y = wavrecord(5*Fs,Fs,'int16');
% Reproduz
pause
wavplay(y,Fs);

Contact us at files@mathworks.com