⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cov_nd.m

📁 toolbox of BVQX, This is the access between BV and matlab. It will help you to analysis data from BV
💻 M
字号:
function [cv, r] = cov_nd(X,Y)
% cov_nd -  computes covariance and corrcoefs for vector pairs in N-D
%
% FORMAT:       [cv, r] = cov_nd(X,Y)
%
% Input fields:
%
%       X, Y        N-D double matrices of same size
%
% Output fields:
%
%       cv          covariance matrix
%       r           correlation coefficients matrix
%
% Note: cv and r are computed over the LAST dimension, so if X and Y
% are 10-by-30-by-50 matrices, cv and r are 10-by-30 matrices.
%
% This is a MEX (c compiled) function for efficiency. Results differ
% slightly from those obtained by calling MATLAB's cov/corrcoef.
%
% See also cov, corrcoef

% Version:  v0.5c
% Build:    6120415
% Date:     Dec-04 2006, 3:15 PM CET
% Author:   Jochen Weber, Brain Innovation, B.V., Maastricht, NL
% URL/Info: http://wiki.brainvoyager.com/BVQXtools

% just to make sure
cv = numel(X);
r = numel(Y);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -