I have a vector v0 (velocity) and for each velocity I have a value of power (P) that the wind turbine produces at that wind speed (so I have a corresponding vector for P).
Now I need to calculate the Annual Energy Output (AEO) using the formula below but I'm not sure how to implement that in MATLAB
k = 2;
A = 9;
f = exp(-(??/A)^k) - exp(-(??/A)^k);
H = 8760 * f;
AEO = ?? * H;
I assume a for-loop is needed?
Thank you in advance!