effective_value

PURPOSE ^

EFFECTIVE_VALUE - compute the effective value of any matrix

SYNOPSIS ^

function effective_value=effective_value(A)

DESCRIPTION ^

EFFECTIVE_VALUE - compute the effective value of any matrix

   effective(A)= 1/sqrt(2)*sqrt(sum(Aij^2))

   Usage:
      effective_value=effective_value(A)

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function effective_value=effective_value(A)
0002 %EFFECTIVE_VALUE - compute the effective value of any matrix
0003 %
0004 %   effective(A)= 1/sqrt(2)*sqrt(sum(Aij^2))
0005 %
0006 %   Usage:
0007 %      effective_value=effective_value(A)
0008 
0009 [row,col]=size(A);
0010 
0011 SUM=0;
0012 for i=1:row
0013     for j=1:col
0014         SUM=SUM+A(i,j)^2;
0015     end
0016 end
0017 
0018 effective_value=1/sqrt(2)*sqrt(SUM);

Generated on Sun 29-Mar-2009 20:22:55 by m2html © 2003