Home > vbmeg > functions > common > utility > vb_err_array3d.m

vb_err_array3d

PURPOSE ^

SYNOPSIS ^

function err = vb_err_array3d(x,y)

DESCRIPTION ^

 Copyright (C) 2011, ATR All Rights Reserved.
 License : New BSD License(see VBMEG_LICENSE.txt)

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function    err = vb_err_array3d(x,y)
0002 %
0003 % Copyright (C) 2011, ATR All Rights Reserved.
0004 % License : New BSD License(see VBMEG_LICENSE.txt)
0005 
0006 xx  = sum(sum(sum(abs(x))));
0007 err = sum(sum(sum(abs(x-y))));
0008 
0009 if xx > 0,
0010     err = err/xx;
0011 end

Generated on Mon 22-May-2023 06:53:56 by m2html © 2005