image thumbnail

Standard error of the mean, ignores NaNs

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


Updated 9 May 2018

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 (2022). Standard error of the mean, ignores NaNs (, MATLAB Central File Exchange. Retrieved .

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!