unique mean and error of a vector with repetitions

input: vec x with repetitions and F(x). return: mean and error of F(unique(x))
177 Downloads
Updated 26 Jul 2013

View License

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 (2024). 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 Linux
Categories
Find more on Data Distribution Plots in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0