cvarpds.m

来自「计量工具箱」· M 代码 · 共 15 行

M
15
字号
function covar = cvarpds(y,pds)
% PURPOSE: This function computes a weighted covariance matrix of y, 
% each row affected by the corresponding weight in pds (pds must be >0 but 
% does not need to be normalized)
%--------------------------------------------------------------
% USAGE: covar = cvarpds(y,pds)
% where:   y =  nx1 vector of the variable
%          pds = nx1 vector of the weights
%--------------------------------------------------------------
% OUTPUTS: covar = covariance matrix of y
%--------------------------------------------------------------
% used in sirmap.m
%------------------------------------------------------------------------
% Yves Aragon, June 2003
% Universit

⌨️ 快捷键说明

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