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
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 的更多信息

标签

回答:

2020-11-6

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by