Professional Documents
Culture Documents
METEOROLOGIA GENERAL
CAPITULO 2 DE MATLAB
pop =
2.3783
11.1000
1.9786
0.0499
0.0805
0.1160
%Ejercicio 5
>> x=3.4
x=
3.4000
>> y=5.8
y=
5.8000
yr =
1.0e+03 *
0.0006 0.0092 1.2094 0.0197 0.0336 0.0034
%ejercicio 11
>> Time=[0:1:20]
Time =
Columns 1 through 14
0 1 2 3 4 5 6 7 8 9 10 11 12 13
Columns 15 through 21
14 15 16 17 18 19 20
%ejercicio 17
>> v=41:-1:29
v=
41 40 39 38 37 36 35 34 33 32 31 30 29
>> w=17:4:37
w=
17 21 25 29 33 37
>> yr=[v w]
yr =
Columns 1 through 14
41 40 39 38 37 36 35 34 33 32 31 30 29 17
Columns 15 through 19
21 25 29 33 37
%Ejercicio 29
a=[zeros(1,6); zeros(1,6); 0 0 8 6 4 2]
a=
0 0 0 0 0 0
0 0 0 0 0 0
0 0 8 6 4 2
%Ejercicio 38
N=
0 3 6 9 12 15
18 21 24 27 30 33
36 39 42 45 48 51