• 大小: 379KB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-05-08
  • 语言: Matlab
  • 标签: HHT  MATLAB  

资源简介

很适合学习的人,初学者可以下载去看一看,里面的资源很不错的啊

资源截图

代码片段和文件信息

function varargout = apply(cfuncvarargin)
% COMPONENTS/APPLY applies arbitrary functions to a Components strucutre
%
% Usage:
%  [any output] = apply(cfunc[any other inputs])
%
% Input:
%  c    - input Components data
%  func - The function handle to apply to the data
%  other arguments passed on to ‘func‘.
% Output:
%  all Components structures each holding the output of ‘func‘ for each
%  input component in sequence
%
% Notes:
%  Only 1 and 2 outputs are implemented.
%  This function is mainly intended to help make wrappers for “plain“
% functions to allow them to work on Components structures. As such it is
% most useful as a model for programmers.

% Kenneth C. Arnold (for NASA GSFC) 2004-08-06

nc = get(c‘nc‘);
varargout{1} = c;
if nargout == 1
    for i=1:nc
        varargout{1}.d(i).c = feval(funcc.d(i).cvarargin{:});
    end
elseif nargout == 2
    varargout{2} = c;
    for i=1:nc
        [varargout{1}.d(i).c varargout{2}.d(i).c] = feval(funcc.d(i).cvarargin{:});
    end
end

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2004-08-08 22:36  hht_toolbox_20040808\
     目录           0  2004-08-08 22:36  hht_toolbox_20040808\@components\
     文件        1045  2004-08-06 15:06  hht_toolbox_20040808\@components\apply.m
     文件         718  2004-08-06 15:28  hht_toolbox_20040808\@components\char.m
     文件        3431  2004-08-08 22:21  hht_toolbox_20040808\@components\compare.m
     文件        2363  2004-08-06 16:02  hht_toolbox_20040808\@components\components.m
     文件        1010  2004-08-06 17:06  hht_toolbox_20040808\@components\Contents.m
     文件         188  2004-07-30 15:51  hht_toolbox_20040808\@components\display.m
     文件         812  2004-08-06 16:02  hht_toolbox_20040808\@components\double.m
     文件        4124  2004-08-06 16:02  hht_toolbox_20040808\@components\fa.m
     文件         174  2004-07-30 22:32  hht_toolbox_20040808\@components\faz.m
     文件        1761  2004-08-08 22:14  hht_toolbox_20040808\@components\get.m
     文件        1238  2004-08-08 22:21  hht_toolbox_20040808\@components\hist.m
     文件         157  2004-08-06 16:02  hht_toolbox_20040808\@components\max.m
     文件         157  2004-08-06 16:02  hht_toolbox_20040808\@components\min.m
     文件        1842  2004-08-06 16:02  hht_toolbox_20040808\@components\mspec.m
     文件        1958  2004-08-06 16:02  hht_toolbox_20040808\@components\nsp.m
     文件        4792  2004-08-06 16:02  hht_toolbox_20040808\@components\nspplot.m
     文件        1727  2004-08-08 22:20  hht_toolbox_20040808\@components\plot.m
     文件        1248  2004-07-30 18:12  hht_toolbox_20040808\@components\splinenormalize.m
     文件         795  2004-08-08 22:12  hht_toolbox_20040808\@components\subsref.m
     文件         204  2004-08-08 21:18  hht_toolbox_20040808\@components\sum.m
     目录           0  2004-08-08 22:36  hht_toolbox_20040808\dfequations\
     文件         563  2004-07-02 19:17  hht_toolbox_20040808\dfequations\dufng.m
     文件         611  2004-07-02 19:17  hht_toolbox_20040808\dfequations\mbssel.m
     文件       23552  2004-06-09 21:38  hht_toolbox_20040808\dfequations\RefTable1.doc
     文件         568  2004-07-02 19:17  hht_toolbox_20040808\dfequations\rslr.m
     目录           0  2004-08-08 22:37  hht_toolbox_20040808\disfunctional\
     文件         310  2004-07-02 19:17  hht_toolbox_20040808\disfunctional\bmovi.m
     文件       36864  2004-06-11 22:37  hht_toolbox_20040808\disfunctional\dumpmemmex.dll
     文件        2750  2004-07-02 19:17  hht_toolbox_20040808\disfunctional\emd_intermit.m
............此处省略267个文件信息

评论

共有 条评论