Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

Is there a possibility to use varargin()?

1 vue (au cours des 30 derniers jours)
madhan ravi
madhan ravi le 25 Août 2019
Clôturé : MATLAB Answer Bot le 20 Août 2021
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 commentaires
Walter Roberson
Walter Roberson le 25 Août 2019
Using varargin in an anonymous function is okay.
madhan ravi
madhan ravi le 27 Août 2019
Thank you, sir Walter :)

Réponses (0)

Tags

Produits


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by