You are on page 1of 5

PRIMERO II

>> fs=8000;
>> r=wavrecord(10*fs,fs,2);
Warning: WAVRECORD will be removed in a future release. Use AUDIORECORDER
instead.
> In wavrecord at 42
>> sound(r,fs);
>> wavwrite(r,fs,16,'traba01.wav');
>> plot(r);
>> ylabel('amplitud');
>> title('manejo de archivos de sonido 8000');
>> xlabel('longitud');
>> stem(r);
CAPTURA DE IMAGTEN
>> info=imaqhwinfo
>> info=imaqhwinfo('winvideo')
>> vid=videoinput('winvideo',1);
>> preview(vid)
>> foto=getsnapshot(vid);
>> image(foto)

im=imread('ki.JPG');
imshow(im);

filtro
af=fspecial('laplacian',0);
im=get(handles.pantalla, 'UserData');
im2=imfilter(im, af);
imshow(im2);

You might also like