Escolar Documentos
Profissional Documentos
Cultura Documentos
Practica Dos
Practica Dos
FECHA: 31-10-2016
EJERCICIO
>> R=[47 58 69 80 1; 57 68 79 9 11; 67 78 8 10 21; 77 7 18 20 31; 6 17 19
30 41; 16 27 29 40 51; 26 28 39 50 61; 36 38 49 60 71; 37 48 59 70 81]
R=
47
58
69
80
57
68
79
11
67
78
10
21
77
18
20
31
17
19
30
41
16
27
29
40
51
26
28
39
50
61
36
38
49
60
71
37
48
59
70
81
>> W=R(4:4,1:1)
W=
77
>> Z=(6:9,1:3)
Z=(6:9,1:3)
|
Error: Expression or statement is incorrect--possibly unbalanced (, {, or [.
>> Z=R(6:9,1:3)
Z=
16
27
29
26
28
39
36
38
49
37
48
59
>> Q=R(1:4,2:4)
Q=
58
69
80
68
79
78
10
18
20
>> Y=R(3:5,2:4)
Y=
78
7
17
10
18
20
19
30
>> A=R(6:9,4:5)
A=
40
51
50
61
60
71
70
81
B=
69
80
79
10
18
20
19
30
29
40
39
50
49
60
59
70
>> D=R(6:9,end)
D=
51
61
71
81
>> E=R(end,:)
E=
37
48
59
70
>> F=R(end,end-1)
F=
81
70
>> G=R(end,end)
G=
81
>> H=R(end-1)
H=
71
>> I=R(end)
I=
81