Join array elements together via user function: joinfun(x,y0,f,...)

Join array elements by applying a function f between them.
15 Downloads
Updated 30 Aug 2016

View License

Behaves like: f( f( f(y0,x(1)), x(2) ), x(3) ) ... x(end)
It also supports multidimensional arrays by specifying dimension to work on.
Github: https://github.com/darkdragon-001/matlab_helpers

Cite As

Dark Dragon (2024). Join array elements together via user function: joinfun(x,y0,f,...) (https://www.mathworks.com/matlabcentral/fileexchange/58912-join-array-elements-together-via-user-function-joinfun-x-y0-f), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2016a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired: Matrix product: mprod(A,...)

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

Added Github link.