nancumsum

Compute the cumulative sum of matrices, specifying the treatment of NaNs.

Download
Download

You are now following this Submission

Cite As

Brett Shoelson (2026). nancumsum (https://www.mathworks.com/matlabcentral/fileexchange/14895-nancumsum), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.5.0

Updated license

Download
1.5.0-0

Fixes an issue with the vectorization of mode 3.

Download
1.3.0

This submission fixes a bug pointed out by a couple of attentive users. Also, note that I have added new options for the treatment of NaNs, and eliminated one for special treatment of vectors. (Not necessary!)

Download
1.2.0

Updated M file and license text file copyright to The MathWorks, Inc.

Download
1.1.0

added copyright

Download
1.0.0

Fixing a bug (failed for scalar inputs).

Download