cpapply.m
来自「CELP (CELl Processing) is a functional p」· M 代码 · 共 10 行
M
10 行
function varargout = cpapply(f,x)
%CPAPPLY Analogue of Lisp's APPLY.
% [Y1,...Ym] = CPAPPLY(F,X) is equivalent to [Y1,...Ym] = F(X{:}).
%
% Examples
% --------
%
% x = cpapply(@min,{rand(10,1),rand(10,1)})
[varargout{1:nargout}] = feval(f,x{:});
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?