Info

此问题已关闭。 请重新打开它进行编辑或回答。

Is there a possibility to use varargin()?

1 次查看(过去 30 天)
madhan ravi
madhan ravi 2019-8-25
关闭: MATLAB Answer Bot 2021-8-20
Is there any other way to perform such operation?
c = {rand,rand(4)};
z = @(...) mean(...);
z(c{:})
The same can be achieved using cellfun(), but is it possible only through anonymous function?
  14 个评论
Walter Roberson
Walter Roberson 2019-8-25
Using varargin in an anonymous function is okay.

回答(0 个)

标签

产品


版本

R2018b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by