资源简介
把你的实验数据变成Wigner-Ville分布分布,可以运行,你指的拥有。
代码片段和文件信息
function [tfrtf] = tfrwv(xtNtrace);
%TFRWV Wigner-Ville time-frequency distribution.
% [TFRTF]=TFRWV(XTNTRACE) computes the Wigner-Ville distribution
% of a discrete-time signal X
% or the cross Wigner-Ville representation between two signals.
%
% X : signal if auto-WV or [X1X2] if cross-WV.
% T : time instant(s) (default : 1:length(X)).
% N : number of frequency bins (default : length(X)).
% TRACE : if nonzero the progression of the algorithm is shown
% (default : 0).
% TFR : time-frequency representation. When called without
% output arguments TFRWV runs TFRQVIEW.
% F : vector of normalized frequencies.
%
% Example :
% sig=fmlin(1280.10.4); tfrwv(sig);
%
% See also all the time-frequency representations listed in
% the file CONTENTS (TFR*)
% F. Auger May-August 1994 July 1995.
% Copyright (c) 1996 by CNRS (France).
%
% This program is free software; you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation; either version 2 of the License or
% (at your option) any later version.
%
% This program is distributed in the hope that it will be useful
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details.
%
% You should have received a copy of the GNU General Public License
% along with this program; if not write to the Free Software
% Foundation Inc. 51 Franklin St Fifth Floor Boston MA 02110-1301 USA
if (nargin == 0)
error(‘At least one parameter required‘);
end;
[xrowxcol] = size(x);
if (nargin == 1)
t=1:xrow; N=xrow ; trace=0;
elseif (nargin == 2)
N=xrow ; trace=0;
elseif (nargin == 3)
trace = 0;
end;
if (N<0)
error(‘N must be greater than zero‘);
end;
[trowtcol] = size(t);
if (xcol==0)|(xcol>2)
error(‘X must have one or two columns‘);
elseif (trow~=1)
error(‘T must only have one row‘);
elseif (2^nextpow2(N)~=N)
fprintf(‘For a faster computation N should be a power of two\n‘);
end;
tfr= zeros (Ntcol);
if trace disp(‘Wigner-Ville distribution‘); end;
for icol=1:tcol
ti= t(icol); taumax=min([ti-1xrow-tiround(N/2)-1]);
tau=-taumax:taumax; indices= rem(N+tauN)+1;
tfr(indicesicol) = x(ti+tau1) .* conj(x(ti-tauxcol));
tau=round(N/2);
if (ti<=xrow-tau)&(ti>=tau+1)
tfr(tau+1icol) = 0.5 * (x(ti+tau1) * conj(x(ti-tauxcol)) + ...
x(ti-tau1) * conj(x(ti+tauxcol))) ;
end;
if trace disprog(icoltcol10); end;
end;
tfr= fft(tfr);
if (xcol==1) tfr=real(tfr); end ;
if (nargout==0)
tfrqview(tfrxt‘tfrwv‘);
elseif (nargout==3)
f=(0.5*(0:N-1)/N)‘;
end;
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1118292 2018-11-12 20:45 Wigner-Ville分布\1224_2_2磨损击穿C-OUT.xlsx
文件 2784 2005-10-13 23:14 Wigner-Ville分布\tfrwv.m
文件 5356 2005-10-13 23:14 Wigner-Ville分布\tftb_window.m
文件 708 2018-11-12 21:19 Wigner-Ville分布\Unti
目录 0 2018-11-12 21:19 Wigner-Ville分布
----------- --------- ---------- ----- ----
1127140 5
- 上一篇:2017B“拍照赚钱”的任务定价
- 下一篇:weixin_viewer.rar
相关资源
- HHT变换包括工具包
- “低保标准”的数学模型建立
- 2018美赛c题O奖论文
- 扩频通信直接扩频论文
- MATLIAB数字图像处理实战
- Mathworks R2019a Statistics and Machine Learni
- introduction to econometrics
- seq文件转化为avi文件.rar
- 基于buck变换器电路纹波的分析与改进
- 基于双环控制的三相SVPWM逆变器研究的
- 齿轮箱数据及说明.rar
- 普通图像JPEG压缩可以实现.zip
- 学习图像处理最常用的图片很齐全很
- 鸢尾花数据相关绘图天津理工大学研
- Optimum Array Processing最优阵列处理技术
- eeglab工具
- SAR点目标RDA实现
- 智能优化算法及程序、试题
- 图像纹理分析
- 华为杯研究生数学建模2018D题
- 降维与特征选择中的PLS、PCR
- MatConvNetCPU编译好的版本,可直接用,
- 数字图像处理电子版pdf
- 惯导仿真工具箱严博士
- SIM超分辨成像开源代码
- 多能源系统统一建模及规划
- Kinect相机标定
- 光电大赛图像处理文献及资料整理
- 数值分析第三版 Numerical Analysis 3rd T
- Real-Time Digital Signal Processing Implementa
评论
共有 条评论