Navigation

Operators and Keywords

Function List:

C++ API

corrcoef.m File Reference


Functions

endif if (nargin==2) c
 elseif (nargin==1) c
 !assert ((size(cc1)==[10, 10]&&size(cc2)==[10, 10]%!&&abs(cc1-cc2)< sqrt(eps)))
!error corrcoef ()
!error corrcoef (1, 2, 3)

Variables

function retval
 s = std (x)' * std (y)
endif endfunction!test !x = rand (10)
 !cc1 = corrcoef (x)
 !cc2 = corrcoef (x, x)

Function Documentation

!assert ( (size(cc1)==[10, 10]&&size(cc2)==[10, 10]%!&&abs(cc1-cc2)< sqrt(eps))   ) 

!error corrcoef ( ,
,
 
)

!error corrcoef (  ) 

elseif ( nargin  = =1  ) 

endif if ( nargin  = =2  ) 


Variable Documentation

!cc1 = corrcoef (x)

!cc2 = corrcoef (x, x)

endif endfunction !test !x = rand (10)

retval

Initial value:

 corrcoef (x, y)

  if (nargin < 1 || nargin > 2)
    print_usage ()

s = std (x)' * std (y)