how to process equation in summation

i have a code kindly tell how to process,the signal is a sine signal and i want to process as like the equation in the image

 Accepted Answer

Tl = 0; % initilization of summation
alphaNs = 2;
for k = 01:alphaNs
Tl = Tl + abs(x(k)^2);
end
Tl = (1/alphaNs)*Tl;

More Answers (0)

Categories

Find more on MATLAB in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!