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!