Interpolaciones En Matlab
>> %1)La presión de saturación del agua a 217.5°C
>>
>> Tsat=[200 205 210 215220 225]; %T en °Celsius
>> Psat=[15.538 17.230 19.063 21.042 23.178 25.477]; %P en bar
>>
>> interp1(Tsat,Psat,217.5,'spline')ans =
22.0899
>>
>> %2)La entropía de vapor de agua sobrecalentado a 217 kPa y 535°C
>>
>> Tvsobre=[400 440 500 600 700 800];%T en °Celsius
>> Pvsobre=[1.5 2 3 4 5 6]; %P en bar
>> Svsobre=[8.3572 8.4775 8.6485 8.9124 9.1550 9.3808;8.2236 8.3441 8.5152 8.77929.0220 9.2479;8.0347 8.1556 8.3271 8.5914 8.8344 9.0604;7.9002 8.0214 8.1933 8.4580 8.7012 8.9273;7.7955 7.9170 8.0892 8.3543 8.59778.8240;7.7097 7.8315 8.0041 8.2695 8.5131 8.7395]
Svsobre =
8.3572 8.4775 8.6485 8.9124 9.1550 9.3808
8.22368.3441 8.5152 8.7792 9.0220 9.2479
8.0347 8.1556 8.3271 8.5914 8.8344 9.0604
7.9002 8.0214 8.19338.4580 8.7012 8.9273
7.7955 7.9170 8.0892 8.3543 8.5977 8.8240
7.7097 7.8315 8.0041 8.26958.5131 8.7395
>> interp2(Tvsobre,Pvsobre,Svsobre,'spline')
??? Error using ==> interp2 at 147
XI and YI must be the same size orvectors of different orientations.
>> interp2(Tvsobre,Pvsobre,Svsobre,535,2.17,'spline')
ans =
8.5721
>> %Entropía en kJ/kg*K
Regístrate para leer el documento completo.