Documentos de Académico
Documentos de Profesional
Documentos de Cultura
wav');
plot(x)
y=fft(y);
plot(y)
a=y.*conj(y)
f=[20:20000];
plot(f,a(20:20000))
onda cuadratica
t=[0:0.01:5];
w=pi
y=a*square(w*t+rho);
plot(t,y)
diente serrucho:
y=a*sawtooth(w*t+rho)
sonido:
w=2*pi*44000
t=[0:0.1/fm:5];
y=a*sin(w*t+rho);
sound(y,fm)
imagine
I=imread('xxxx')
J=im2uint8(I)
imshow(J)..sale
escala gris:
H=Rgb2 gray(I);
imshow(H)..sale gris
I1=I(:,:,1); %1=gris,2=verde,3=azul
imshow(I1)..sale color predominante
I=imread('xxxx')
imshow(I)
improfile
histograma por color:
imhist(I1)%rojo,I2=verde,I3=azul
filtro suavisado
gf=fspecial('gaussian',[7,7],5)%matriz y desviacion
I=imread('....jpg');
gi=imfilter(I,gf,'symetric');
subplot(1,2,1),image(I)
SUBPLOT(1,2,2),image(gi),title('comparando imagen y filtrado')
edges=[];
edges(:,:,1)=edge(I(:,:,1),'sobel');
edges(:,:,2)=edge(I(:,:,2),'sobel');
edges(:,:,3)=edge(I(:,:,3),'sobel');
subplot(2,2,2),imshow(edges(:,:,1)),title('red');
subplot(2,2,3),imshow(edges(:,:,2)),title('green');
subplot(2,2,4),imshow(edges(:,:,3)),title('blue');
subplot(2,2,1),imshow(I);sale y continua
subplot(1,2,1),image(edges),title('combinado');
edges all=edges(:,:,1)+edges(:,:,2)+edges(:,:,3);
subplot(1,2,2),image(edgesall),title('combinado RGB en 1');
si:u'=ru; u(0)=u0
u=dsolve('DU=U/2','U(0)=1/4')
ezplot(u,[0,3])