This function reduces a d-dimensional array into a d-dimensional array of smaller size by applying an arbitrary function to any sub-block extracted from A of given size. It includes testing scripts to demonstrate how it can be used.
Massimo Zanetti (2021). N-D array reduction by arbitrary function (https://www.mathworks.com/matlabcentral/fileexchange/59679-n-d-array-reduction-by-arbitrary-function), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!