Ejercicios Matlab
caperez19 de Marzo de 2015
5.217 Palabras (21 Páginas)385 Visitas
MATLAB desktop keyboard shortcuts, such as Ctrl+S, are now customizable.
In addition, many keyboard shortcuts have changed for improved consistency
across the desktop.
To customize keyboard shortcuts, use Preferences. From there, you can also
restore previous default settings by selecting "R2009a Windows Default Set"
from the active settings drop-down list. For more information, see Help.
Click here if you do not want to see this message again.
>> exp
??? Error using ==> exp
Not enough input arguments.
>> P°=presion de vapor de saturacion en mbar
??? P°=presion de vapor de saturacion en mbar
|
Error: The input character is not valid in MATLAB statements or
expressions.
>> %p°=presion de vapor de saturacion en mbar
>> Y=-60:120
Y =
Columns 1 through 12
-60 -59 -58 -57 -56 -55 -54 -53 -52 -51 -50 -49
Columns 13 through 24
-48 -47 -46 -45 -44 -43 -42 -41 -40 -39 -38 -37
Columns 25 through 36
-36 -35 -34 -33 -32 -31 -30 -29 -28 -27 -26 -25
Columns 37 through 48
-24 -23 -22 -21 -20 -19 -18 -17 -16 -15 -14 -13
Columns 49 through 60
-12 -11 -10 -9 -8 -7 -6 -5 -4 -3 -2 -1
Columns 61 through 72
0 1 2 3 4 5 6 7 8 9 10 11
Columns 73 through 84
12 13 14 15 16 17 18 19 20 21 22 23
Columns 85 through 96
24 25 26 27 28 29 30 31 32 33 34 35
Columns 97 through 108
36 37 38 39 40 41 42 43 44 45 46 47
Columns 109 through 120
48 49 50 51 52 53 54 55 56 57 58 59
Columns 121 through 132
60 61 62 63 64 65 66 67 68 69 70 71
Columns 133 through 144
72 73 74 75 76 77 78 79 80 81 82 83
Columns 145 through 156
84 85 86 87 88 89 90 91 92 93 94 95
Columns 157 through 168
96 97 98 99 100 101 102 103 104 105 106 107
Columns 169 through 180
108 109 110 111 112 113 114 115 116 117 118 119
Column 181
120
>> T=-60:120
T =
Columns 1 through 11
-60 -59 -58 -57 -56 -55 -54 -53 -52 -51 -50
Columns 12 through 22
-49 -48 -47 -46 -45 -44 -43 -42 -41 -40 -39
Columns 23 through 33
-38 -37 -36 -35 -34 -33 -32 -31 -30 -29 -28
Columns 34 through 44
-27 -26 -25 -24 -23 -22 -21 -20 -19 -18 -17
Columns 45 through 55
-16 -15 -14 -13 -12 -11 -10 -9 -8 -7 -6
Columns 56 through 66
-5 -4 -3 -2 -1 0 1 2 3 4 5
Columns 67 through 77
6 7 8 9 10 11 12 13 14 15 16
Columns 78 through 88
17 18 19 20 21 22 23 24 25 26 27
Columns 89 through 99
28 29 30 31 32 33 34 35 36 37 38
Columns 100 through 110
39 40 41 42 43 44 45 46 47 48 49
Columns 111 through 121
50 51 52 53 54 55 56 57 58 59 60
Columns 122 through 132
61 62 63 64 65 66 67 68 69 70 71
Columns 133 through 143
72 73 74 75 76 77 78 79 80 81 82
Columns 144 through 154
83 84 85 86 87 88 89 90 91 92 93
Columns 155 through 165
94 95 96 97 98 99 100 101 102 103 104
Columns 166 through 176
105 106 107 108 109 110 111 112 113 114 115
Columns 177 through 181
116 117 118 119 120
>> TK=(T+459.6)/1.8
TK =
Columns 1 through 7
222.0000 222.5556 223.1111 223.6667 224.2222 224.7778 225.3333
Columns 8 through 14
225.8889 226.4444 227.0000 227.5556 228.1111 228.6667 229.2222
Columns 15 through 21
229.7778 230.3333 230.8889 231.4444 232.0000 232.5556 233.1111
Columns 22 through 28
233.6667 234.2222 234.7778 235.3333 235.8889 236.4444 237.0000
Columns 29 through 35
237.5556 238.1111 238.6667 239.2222 239.7778 240.3333 240.8889
Columns 36 through 42
241.4444 242.0000 242.5556 243.1111 243.6667 244.2222 244.7778
Columns 43 through 49
245.3333 245.8889 246.4444 247.0000 247.5556 248.1111 248.6667
Columns 50 through 56
249.2222 249.7778 250.3333 250.8889 251.4444 252.0000 252.5556
Columns 57 through 63
253.1111 253.6667 254.2222 254.7778 255.3333 255.8889 256.4444
Columns 64 through 70
257.0000 257.5556 258.1111 258.6667 259.2222 259.7778 260.3333
Columns 71 through 77
260.8889 261.4444 262.0000 262.5556 263.1111 263.6667 264.2222
Columns 78 through 84
264.7778 265.3333 265.8889 266.4444 267.0000 267.5556 268.1111
Columns 85 through 91
268.6667 269.2222 269.7778 270.3333 270.8889 271.4444 272.0000
Columns 92 through 98
272.5556 273.1111 273.6667 274.2222 274.7778 275.3333 275.8889
Columns 99 through 105
276.4444 277.0000 277.5556 278.1111 278.6667 279.2222 279.7778
Columns 106 through 112
280.3333 280.8889 281.4444 282.0000 282.5556 283.1111 283.6667
Columns 113 through 119
284.2222 284.7778 285.3333 285.8889 286.4444 287.0000 287.5556
Columns 120 through 126
288.1111 288.6667 289.2222 289.7778 290.3333 290.8889 291.4444
Columns 127 through 133
292.0000 292.5556 293.1111 293.6667 294.2222 294.7778 295.3333
Columns 134 through 140
295.8889 296.4444 297.0000 297.5556 298.1111 298.6667 299.2222
Columns 141 through 147
299.7778 300.3333 300.8889 301.4444 302.0000 302.5556 303.1111
Columns 148 through 154
303.6667 304.2222 304.7778 305.3333 305.8889 306.4444 307.0000
Columns 155 through 161
307.5556 308.1111 308.6667 309.2222 309.7778 310.3333 310.8889
Columns 162 through 168
311.4444 312.0000 312.5556 313.1111 313.6667 314.2222 314.7778
Columns 169 through 175
315.3333 315.8889 316.4444 317.0000 317.5556 318.1111 318.6667
Columns 176 through 181
319.2222 319.7778 320.3333 320.8889 321.4444 322.0000
>> Hv=2.453e6
Hv =
2453000
>> Raire=461
Raire =
461
>> e
??? Undefined function or variable 'e'.
>> e=2.41
e =
2.4100
>> Hv
Hv =
2453000
>> P=6.11*2.41*Hv/Raire*1/273-1/TK
??? Error using ==> mldivide
Matrix dimensions must agree.
>> P=6.11*[2.41*Hv/Raire]*[1/273-1/TK]
??? Error using ==> mldivide
Matrix dimensions must agree.
>> P=Hv/Raire
P =
5.3210e+003
>> 6.11*P
ans =
3.2512e+004
>> 1/273
ans =
0.0037
>> 1/TK
??? Error using ==> mldivide
Matrix dimensions must agree.
>> P=6.11*2.41*Hv/Raire*1/273-1/TK
??? Error using ==> mldivide
Matrix dimensions must agree.
...