unique mean and error of a vector with repetitions
Version 1.0.0.0 (1.51 KB) by
Omri Bahat Treidel
input: vec x with repetitions and F(x). return: mean and error of F(unique(x))
this function takes a vector x that contains repetitions and a function of x.
This means that for every value of x there are multiple values of F(x)
The function returens a vector y which is the values of x without the repetitions,
a vector V that is the bootsrtap mean of Fx - V_i = mean(F(xi)) where all
xi are the same, and a vector errBS with is the bootstrap error of the
mean.
Cite As
Omri Bahat Treidel (2026). unique mean and error of a vector with repetitions (https://www.mathworks.com/matlabcentral/fileexchange/42842-unique-mean-and-error-of-a-vector-with-repetitions), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2012a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Data Distribution Plots in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
