File Exchange

image thumbnail

Standard error of the mean, ignores NaNs

version (1.62 KB) by MikeCF
Calculates s.e.m., ignoring NaN values


Updated 09 May 2018

View Version History

View License

s.e.m. = std(vector_data)/sqrt(length(vector_data));
Given a vector_data, calculates the standard deviation and length of vector_data without taking NaNs into account.

Cite As

MikeCF (2021). Standard error of the mean, ignores NaNs (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (1)

Mikhail Monakhov

simple but useful!

MATLAB Release Compatibility
Created with R2014a
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!