image thumbnail

N-D array reduction by arbitrary function

version (2.07 KB) by Massimo Zanetti
Implements a fast reduction of N-D array that computes arbitrary function to sub-blocks of A


Updated 12 Oct 2016

View License

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.

Cite As

Massimo Zanetti (2021). N-D array reduction by arbitrary function (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2016b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!