NaN Suite
The collection of functions in the NaN Suite enhances the functionality of the original 'nan'-functions in the Statistics Toolbox for N-D matrices. In addition, the new function nansem.m calculates the standard error of the mean ignoring NaNs.
The NaN Suite functions are used similar to the original functions (e.g. mean, std, var), that is they take a matrix as the first input, and the dimension along which the operation should be computed as the second input. For example, nanmean(A,4) calculates the mean of A along the 4th dimension of A ignoring NaNs.
Cite As
Jan Gläscher (2024). NaN Suite (https://www.mathworks.com/matlabcentral/fileexchange/6837-nan-suite), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- AI and Statistics > Statistics and Machine Learning Toolbox > Descriptive Statistics and Visualization >
Tags
Acknowledgements
Inspired: Fractional Octave Band and A, B, C Weighting Filters DF2T SOS IIR Matlab and limited Labview, Cpk capability index with NaN's, nantight, Webcam Realtime Motion Tracker
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
nansuite
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.1 | This update does not contain any new or updated files. It's sole purpose is to add the BSD license to the submission |
|
|
1.0.0.0 | included an additional function nanvar.m which computes the variance for N-D matrices. It is very similar to nanstd.m without taking the square root. |