How do I plot this?
古いコメントを表示
How do I plot Plot the temperatures and relative humidity. For this, plot Td and T from the input data and the two estimates of Tdin one graph. In the same graph, with a separate y-axis, plot the relative humidity.
the code i have:
ccsv=readtable("IDV60901.95936.csv") ;
T= csv.(20) ; % temperature Or use the respective column name
RH = csv.(27) ; % RH
gamma = log(RH/100)+18.678*T./(257.14+T) ;
Td1 = 257.14*gamma./(18.678-gamma) ;
Td2 = T - (100-RH)/5 ;
The code is the approximation dew point temperature (Td) is the temperature in a moist atmosphere at which water vapor will condensate to droplets and therefore form a cloud e.g. if the current temperature is at or below Td then you are in a cloud or fog and the relative humidity in the atmosphere is 100%).
回答 (1 件)
KSSV
2020 年 11 月 6 日
Read about plot.
plot(T, Td1)
hold on
plot(T,Td2)
xlable("T")
ylabel("Td")
legend("Td1","Td2")
カテゴリ
ヘルプ センター および File Exchange で Condensed Matter & Materials Physics についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!