Apply multiple functions in a single function.

Allows the user to apply functions to inputs, with various input-output combination's.
531 Downloads
Updated 15 Nov 2011

View License

This function can be very handy. Consider a case where you wish to analyze data, with different functions. In order to do so, you must write many code lines where you apply
all the functions to the data. And this process tends to repeat itself for several data elements, and with varying functions. Now you can apply any function of your choice
(both Matlab and user custom) to any number of inputs with a single line command [out1,out2,out3...]=funXapply(in1,in2,in3...,{'func1','func2',...});
As an author I shouldn't say this, but this is awesome! I intend to use it all over my code from now on.

Cite As

Nikolay S. (2024). Apply multiple functions in a single function. (https://www.mathworks.com/matlabcentral/fileexchange/33778-apply-multiple-functions-in-a-single-function), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on File Operations in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0