image thumbnail
from Wind Turbine System Identification by Sumit Tripathi
Use system Identification techniques to predict power generation from wind turbine.

coherence()
function coherence()
clc
close all
clear all
[omega, Gamma, Cxy]=coherence_data(1);
figure
plot(omega,Gamma(1:length(omega)));
title({'Coherence between input "Wind Speed" and output "Watts"';'with Hamming Window'});
axis manual
axis([0 max(omega) 0.4 1.01]);	% axis limits
grid on;

figure
plot(omega,Cxy(1:length(omega)));
title('Coherence between "Wind Speed" and "Watts"-Raw Data');
xlabel('Frequency');
axis manual
axis([0 max(omega) 0.4 1.01]);	% axis limits
grid on;

Contact us at files@mathworks.com