Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Is there a possibility to use varargin()?

1 Ansicht (letzte 30 Tage)
madhan ravi
madhan ravi am 25 Aug. 2019
Geschlossen: MATLAB Answer Bot am 20 Aug. 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 Kommentare
Walter Roberson
Walter Roberson am 25 Aug. 2019
Using varargin in an anonymous function is okay.
madhan ravi
madhan ravi am 27 Aug. 2019
Thank you, sir Walter :)

Antworten (0)

Tags

Produkte


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by