Sum squared elements of a matrix
Syntax
sumsqr(m)
Description
sumsqr(M) returns the sum of the squared elements in M.
M
Examples
s = sumsqr([1 2;3 4])
© 1994-2005 The MathWorks, Inc.