91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 3KB
    文件類型: .m
    金幣: 1
    下載: 0 次
    發布日期: 2021-06-17
  • 語言: Matlab
  • 標簽: matlab??

資源簡介

可以運行的EMD工具箱針對hhspectrum錯誤-instfreq.m
在論壇上載了那個最經典的EMD,但是運行后發現出現錯誤。但是好像很多人也只是隨便發,不管是否可以運行,可能僅僅是為了掙麥片。
與同學研究了下,發現是缺少了一個instfreq的函數,于是就從網站上載了一個函數給有需要的人參考下。

EMD中文件夾的install不用管它。可以用一個例子測試下
t=1:500;
t=t*1/2000;
x=sin;
y=0.4*sin;
z=x y;
plot
imf=emd;
emd_visu,imf)
[A,f,tt]=hhspectrum;
[im,tt]=toimage;
disp_hhs;
colormap)


如果單純用EMD包,運行到[A,f,tt]=hhspectrum;就會出錯,hhspectrum函數需要有instfreq函數包才行。



希望對大家有幫助,為了方便,也提供了一個emd instfreq函數的可以下載

資源截圖

代碼片段和文件信息

function?[fnormhatt]=instfreq(xtLtrace);
%INSTFREQ?Instantaneous?frequency?estimation.
% [FNORMHATT]=INSTFREQ(XTLTRACE)?computes?the?instantaneous?
% frequency?of?the?analytic?signal?X?at?time?instant(s)?T?using?the
% trapezoidal?integration?rule.
% The?result?FNORMHAT?lies?between?0.0?and?0.5.
%?
% X?:?Analytic?signal?to?be?analyzed.
% T?:?Time?instants ????????(default?:?2:length(X)-1).
% L?:?If?L=1?computes?the?(normalized)?instantaneous?frequency?
% ????of?the?signal?X?defined?as?angle(X(T+1)*conj(X(T-1))?;
% ????if?L>1?computes?a?Maximum?Likelihood?estimation?of?the
% ????instantaneous?frequency?of?the?deterministic?part?of?the?signal
% ????blurried?in?a?white?gaussian?noise.
% ????L?must?be?an?integer??????? (default?:?1).
% TRACE?:?if?nonzero?the?progression?of?the?algorithm?is?shown
% ????????????????????????????????(default?:?0).
% FNORMHAT?:?Output?(normalized)?instantaneous?frequency.
% T?:?Time?instants.
%
% Examples?:?
% ?x=fmsin(700.050.3525);?[instft]=instfreq(x);?plot(tinstf)
% ?N=64;?SNR=10.0;?L=4;?t=L+1:N-L;?x=fmsin(N0.050.3540);
% ?sig=sigmerge(xhilbert(randn(N1))SNR);
% ?plotifl(t[instfreq(sigtL)instfreq(xt)]);?grid;
% ?title?(‘theoretical?and?estimated?instantaneous?frequencies‘);
%
% See?also??KAYTTH?SGRPDLAY.

% F.?Auger?March?1994?July?1995.
% Copyright?(c)?1996?by?CNRS?(France).
%
% -------------------?CONFIDENTIAL?PROGRAM?--------------------?
% This?program?can?not?be?used?without?the?authorization?

評論

共有 條評論