margenau_hill4.m

来自「分数阶Fourier变换程序」· M 代码 · 共 36 行

M
36
字号
function [tfd, t, f] = margenau_hill4(x, fs);% margenau_hill4 -- compute the type IV Margenau-Hill distribution.%%  Usage%    [tfd, t, f] = margenau_hill4(x, fs)%%  Inputs%    x     signal vector%    fs    sampling frequency of x (optional, default is 1 sample/second)%%  Outputs%    tfd  matrix containing the Margenau-Hill distribution of signal x.  %         If x has length N, then tfd will be nfreq by N. (optional)%    t    vector of sampling times (optional)%    f    vector of frequency values (optional)%% If no output arguments are specified, then the Margenau-Hill distribution % is displayed using ptfd(tfd, t, f).% Copyright (C) -- see DiscreteTFDs/Copyrighterror(nargchk(1, 2, nargin));if (nargin == 1)  [tfd, t, f] = rihaczek1(x);elseif (nargin == 2)  [tfd, t, f] = rihaczek1(x, fs);endtfd = real(tfd);if (nargout == 0)  ptfd(tfd, t, f);  clear tfdend

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?