
5 Data Analysis
73.2819
stdx =
8.9185
12.6127
mse =
1.9090e+003
Check the assumption of a 12-hour period in the data with a periodogram,
computed using the MATLAB
fft function:
Fs = 1; % Sample frequency (per hour)
n = length(c3); % Window length
Y = fft(c3); % DFT of dat a
f = (0:n-1)*(Fs/n); % Frequency range
P = Y.*conj(Y)/n; % Power of the DFT
figure
plot(f,P)
xlabel('Frequency')
ylabel('Power')
predicted_f = 1/12
predicted_f =
0.0833
5-22
Commentaires sur ces manuels