Oct 9, 2024
waktu = 9:16;
T
:
A: Rata-rata temperatur setiap hari:
average_daily = mean(T);
B: Rata-rata temperatur antara jam 11-13:
average_11_13 = mean(T(:, 11:13));
C: Rata-rata temperatur hari pertama dan kedua:
average_1_2 = mean(T(1:2, :));
D: Rata-rata temperatur 3 hari antara jam 9-12:
average_3_days_9_12 = mean(T(:, 9:12));
E: Temperatur tertinggi dan terendah:
max_temp = max(T); min_temp = min(T);
histogram
untuk menampilkan data:
histogram(T, 4);