资源简介
信号累积量的计算程序。主程序cumest.m。调用程序cum2est.m;cum3est.m;cum4est.m
代码片段和文件信息
function y_cum = cum2est (y maxlag nsamp overlap flag)
%CUM2EST Covariance function.
% Should be involed via “CUMEST“ for proper parameter checks.
% y_cum = cum2est (y maxlag samp_seg overlap flag)
% y: input data vector (column)
% maxlag: maximum lag to be computed
% samp_seg: samples per segment (<=0 means no segmentation)
% overlap: percentage overlap of segments
% flag: ‘biased‘ biased estimates are computed
% ‘unbiased‘ unbiased estimates are computed.
% y_cum: estimated covariance
% C2(m) -maxlag <= m <= maxlag
% all parameters must be specified!
% Copyright (c) 1992-96 United Signals & Systems Inc. and The Mathworks Inc.
% $Revision: 1.3 $
% A. Swami January 20 1993
% RESTRICTED RIGHTS LEGEND
% Use duplication or disclosure by the Government is subject to
% restrictions as set forth in subparagraph (c) (1) (ii) of the
% Rights in Technical Data and Computer Software clause of DFARS
% 252.227-7013.
% Manufacturer: United Signals & Systems Inc. P.O. Box 2374
% Culver City California 90231.
%
% This material may be reproduced by or for the U.S. Government pursuant
% to the copyright license under the clause at DFARS 252.227-7013.
% C2(m) := E conj(x(n)) x(n+k)
% ---------- parameter checks are done by CUMEST ----------------
[n1n2] = size(y); N = n1*n2;
overlap = fix(overlap/100 * nsamp);
nrecord = fix( (N - overlap)/(nsamp - overlap) );
nadvance = nsamp - overlap;
y_cum = zeros(maxlag+11);
ind = 1:nsamp;
for i=1:nrecord
x = y(ind); x = x(:) - mean(x); % make sure we have a colvec
for k = 0:maxlag
y_cum(k+1) = y_cum(k+1) + x([1:nsamp-k])‘ * x([k+1:nsamp]);
end
ind = ind + nadvance;
end
if (flag(1:1) == ‘b‘ | flag(1:1) == ‘B‘)
y_cum = y_cum / (nsamp*nrecord);
else
y_cum = y_cum ./ (nrecord * (nsamp-[0:maxlag]‘ ));
end
if maxlag > 0
y_cum = [conj(y_cum(maxlag+1:-1:2)); y_cum];
end
return
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 4482 1997-05-26 11:22 cum4est.m
文件 2783 1997-05-26 11:22 cumest.m
文件 2089 1997-05-26 11:22 cum2est.m
文件 2921 1997-05-26 11:22 cum3est.m
文件 231 2010-12-31 11:46 说明.txt
----------- --------- ---------- ----- ----
12506 5
相关资源
- 基于Matlab的最大熵模糊图像复原算法
- KITTI雷达点云与图像数据融合matlab源码
- matlab 解码 NMEA0183格式GGA数据
- 一个有关飞机的模板匹配的跟踪的m
- 基于MATLAB的电弧模型仿真
- PRI信号分选
- Matlab论文:基于Matlab的二进制数字调
- 802.11协议吞吐量随节点数性能仿真
- matlab图片rgb转yuv,存.yuv文件 播放器
- Duda模式分类Pattern Classification MATLAB 代
- dijkstra算法的matlab实现31274
- 随机路径生成函数matlab
- matlab语音信号处理工具箱
- matlab2013激活文件
- matlab实现游程编码
- 暗通道先验+引导滤波MATLAB代码
- 边缘检测中的canny算法及其matlab实现
- 通过达曼光栅生成点阵的matlab程序.
- MATLAB核函数算法
- 求控制系统的性能指标MptrtsFAI,matl
- matlab 求DTFT
- 逆变器重复控制算法MATLAB仿真
- MATLAB R2014b 许可协议文件
- matlab读取comtrade格式的程序
- 基于Matlab的RC一阶电路仿真
- Las点云数据读取代码
- 雷达回波加天线方向图模拟程序
- MATLAB 2017b 安装文件及其破解文件百度
- Matlab实现音频降噪
- matlab实现导航卫星系统中计算多普勒
评论
共有 条评论