Apply function to each 1-D slice of an N-D array


Updated 18 Jul 2017

View License

Applies a function specified by the function handle '@fun' to each 1-D slice of an N-dimensional array 'X' along the specified dimension. This file is par of the `dimensional-fft-tools` toolbox which is currently in development on https://github.com/MarcinKonowalczyk/dimensional-fft-tools

Cite As

Marcin Konowalczyk (2023). dfun(X,fun,dim,funargs,varargin) (https://www.mathworks.com/matlabcentral/fileexchange/63686-dfun-x-fun-dim-funargs-varargin), MATLAB Central File Exchange. Retrieved .

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

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes

- Added plot mode and associated `plotfun`, `plotpause` and obviously `plot` options
- Fixed a major bug in the `cell` output
- Code tweaks

Fixed typos

Changed summary

Added description

changed title