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) |
!assert | ( | (size(cc1)==[10, 10]&&size(cc2)==[10, 10]%!&&abs(cc1-cc2)< sqrt(eps)) | ) |
!error corrcoef | ( | 1 | , | |
2 | , | |||
3 | ||||
) |
!error corrcoef | ( | ) |
elseif | ( | nargin | = =1 |
) |
!cc1 = corrcoef (x) |
!cc2 = corrcoef (x, x) |
endif endfunction !test !x = rand (10) |
s = std (x)' * std (y) |