日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 人工智能 > 循环神经网络 >内容正文

循环神经网络

matlab中的tfrwv函数,求助,关于时频分布的

發(fā)布時間:2023/12/19 循环神经网络 23 豆豆
生活随笔 收集整理的這篇文章主要介紹了 matlab中的tfrwv函数,求助,关于时频分布的 小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.

該樓層疑似違規(guī)已被系統(tǒng)折疊?隱藏此樓查看此樓

function [tfr,t,f] = tfrwv(x,t,N,trace);

%TFRWVWigner-Ville time-frequency distribution.

%[TFR,T,F]=TFRWV(X,T,N,TRACE) 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 [X1,X2] 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(128,0.1,0.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).

%

%------------------- CONFIDENTIAL PROGRAM --------------------

%This program can not be used without the authorization of its

%author(s). For any comment or bug report, please send e-mail to

%f.auger@ieee.org

if (nargin == 0),

error('At least one parameter required');

end;

[xrow,xcol] = 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;

[trow,tcol] = 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 (N,tcol);

if trace, disp('Wigner-Ville distribution'); end;

for icol=1:tcol,

ti= t(icol); taumax=min([ti-1,xrow-ti,round(N/2)-1]);

tau=-taumax:taumax; indices= rem(N+tau,N)+1;

tfr(indices,icol) = x(ti+tau,1) .* conj(x(ti-tau,xcol));

tau=round(N/2);

if (ti<=xrow-tau)&(ti>=tau+1),

tfr(tau+1,icol) = 0.5 * (x(ti+tau,1) * conj(x(ti-tau,xcol)) + ...

x(ti-tau,1) * conj(x(ti+tau,xcol))) ;

end;

if trace, disprog(icol,tcol,10); end;

end;

tfr= fft(tfr);

if (xcol==1), tfr=real(tfr); end ;

if (nargout<=1),

tfrqview(tfr,x,t,'tfrwv');

elseif (nargout==3),

f=(0.5*(0:N-1)/N)';

end;

總結

以上是生活随笔為你收集整理的matlab中的tfrwv函数,求助,关于时频分布的的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內容還不錯,歡迎將生活随笔推薦給好友。