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

📄 tsqlim.m

📁 PLS_Toolbox是用于故障检测与诊断方面的matlab工具箱
💻 M
字号:
function tsqcl = tsqlim(m,pc,cl)
%TSQLIM confidence limits for Hotelling's T^2
%  Inputs are the number of samples (m), the
%  number of PCs used (pc), and the confidence
%  limit (cl) in %. The output (tsqcl) is the 
%  confidence limit (tsqcl).
%
%I/O: tsqcl = tsqlim(m,pc,cl);
%
%Example: tsqcl = tsqlim(15,2,95);
%
%See also: MODLGUI, PCA, PCAGUI

%Copyright Eigenvector Research, Inc. 1997-98
%nbg 4/97

if cl>=100|cl<=0
  error('confidence limit must be 0<cl<100')
end
alpha = (100-cl)/100;
tsqcl = pc*(m-1)/(m-pc)*ftest(alpha,pc,m-pc);

⌨️ 快捷键说明

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