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

3 views (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(:));


Find more on Data Type Identification in Help Center and File Exchange


Community Treasure Hunt

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

Start Hunting!