let a be the hilbert matrix of order 70 (matlab command hilb). the sum of the elements of a that are lower than 0.01 is approximately in matlab

main.m
a = hilb(70);
sum(sum(a(a < 0.01)))
36 chars
3 lines

The approximate sum of the elements of matrix a that are lower than 0.01 in MATLAB is computed using the code above.

related categories

gistlibby LogSnag