frobenius_norm

PURPOSE ^

Computes the Frobenius norm of the difference of two matrices

SYNOPSIS ^

function diff = frobenius_norm(A, B)

DESCRIPTION ^

Computes the Frobenius norm of the difference of two matrices
function diff = frobenius_norm(A)
Fabio Tozeto Ramos 05/10/05

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function diff = frobenius_norm(A, B)
0002 %Computes the Frobenius norm of the difference of two matrices
0003 %function diff = frobenius_norm(A)
0004 %Fabio Tozeto Ramos 05/10/05
0005 diff = sqrt(sum(sum(abs(A-B).^2,1),2));

Generated on Thu 08-Apr-2010 14:35:09 by m2html © 2005