Professional Documents
Culture Documents
MATLAB
1)Procesamos una imagen
a=imread('goldfish.jpg')
imshow(a)
R =
4.7381
-2.6441
-0.8940
6)Calculamos las races
P=[1 2 1]
stem(P)
grid on
R=roots(P)
R =
-1
-1
7) Procesamos una imagen
b=imread('paisaje.jpg')
b=imshow(b)
del polinomio
8)
P=[1 3 4 5 6 5 ]
stem(P)
grid on
R=roots(P)
R =
0.3869
0.3869
-1.0058
-1.0058
-1.7623
9)
+
+
+
1.1968i
1.1968i
0.8842i
0.8842i
0.0000i
a=imread('goldfish.jpg')
imshow(a)
b= imrotate(goldfish,76)
imshow(b)