资源简介
KPCA故障诊断程序 主要是KPCA进行故障诊断对数据的处理
代码片段和文件信息
function [axmxstdx] = auto(x)
% autoscales matrix x and returns a vector of means (mx) and
% standard deviations (stdx) used in the scaling. I/O format
% is: [axmxstdx] = auto(x)
[mn] = size(x);
% Copyright
% Barry M. Wise
% 1991
% Calculate the mean and standard deviation of the input data.
% Open a matrix with zeros for the scaled data (this makes
% the function faster since it doesn‘t have to resize y)
mx = mean(x);
stdx = std(x);
ax = zeros(mn);
for i = 1:m
ax(i:) = (x(i:) - mx)./stdx;
end
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
....... 522 2012-11-20 22:40 KPCA Codes\auto.m
....... 2803 2012-11-20 22:40 KPCA Codes\Demo_kpca.m
....... 526 2012-11-20 22:40 KPCA Codes\scale.m
目录 0 2012-11-20 22:52 KPCA Codes
----------- --------- ---------- ----- ----
3851 4
- 上一篇:SublimeServer
- 下一篇:Linux下的bc计算器移植到windows下
评论
共有 条评论