Apply multiple functions in a single function.
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.
Citation pour cette source
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. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
Tags
Remerciements
Inspiré par : Pack & Unpack variables to & from structures with enhanced functionality
A inspiré : Crop video to sub elements
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.0.0 |