could you tell me how to write the script matlab about sigma problem

1 view (last 30 days)
hello.. if i have this equetion:
G =256
E = Sigma C.^2
i,j=1 i,j
how to compute in matlab? Thanks

Answers (1)

Walter Roberson
Walter Roberson on 13 Dec 2013
T = C(1:256, 1:256).^2;
E = sum(T(:));

Categories

Find more on Programming 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!