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

📄 covdg.m

📁 Matlab package for PCA for datasets with missing values
💻 M
字号:
%  COVDG - Extract posterior variance of principal components%%  Sv = COVDG( Sv, Isv ) extracts the posterior variances of principal%  components (elements of matrix S) from the structures returned by%  PCA_FULL.%%  See also SUBSPACE2D, ADDEBARS%  This software is provided "as is", without warranty of any kind.%  Alexander Ilin, Tapani Raikofunction Sv = covdg( Sv, Isv )if iscell(Sv)    Sv_in = Sv;    if nargin > 1 && ~isempty(Isv)        Sv = zeros( size(Sv_in{1},1), length(Isv) );        for i = 1:size(Sv,2)            Sv(:,i) = diag(Sv_in{Isv(i)});        end    else        Sv = zeros( size(Sv_in{1},1), length(Sv) );        for i = 1:size(Sv,2)            Sv(:,i) = diag(Sv_in{i});        end    endend

⌨️ 快捷键说明

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