normf(a)

Returns the Frobenius norm of matrix a.


See also norm1 norm2 norminf 


Example


a = ( 1, 2 ; 3, 1 )

1  2

3  1

normf( a )

3.8730