meanGauss
by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Auxiliary function
Introduced first in SolidGeometry 5.0, Creation date: 2021-01-14, Last change: 2025-09-15
returns mean and standard deviation wrt accuracy aspects
Description
in experimental measuremets we expect that the result are statistical distributed. The high number of digitals of our devices leads to the error of specifying the results with too many digits and thus specifying a high precision (certainty of the statement). This function reduces the number of valid digits to the standardized specification
See Also: erfGauss
, erfinvGauss
, roundgauss
, num2strUP
Example Illustration
Syntax
[X,ss,sx,se]=meanGauss(x,[Xref])
Input Parameter
x: | | Test (sample) List |
Xref: | | optional reference value for t-test |
Output Parameter
X: | | Mean Value |
ss: | | Standard deviation |
sx: | | Standard deviation of X |
se: | | error value for deviation |
Examples
x=normrnd(200,1,[3,1]); meanGauss(x,202);
x=randdice(100000,1); meanGauss(x)
x=rand(100000,1); meanGauss(x)
x=normrnd(3.5,1.7,[100000,1]); meanGauss(x)
x=randnorm(100000,1); meanGauss(x)
References
ISO 80000-1Additional Hyperlinks
Copyright 2021-2025 Tim C. Lueth. All rights reserved. The code is the property of Tim C. Lueth and may not be redistributed or modified without explicit written permission. This software may be used free of charge for academic research and teaching purposes only. Commercial use, redistribution, modification, or reverse engineering is strictly prohibited. Access to source code is restricted and granted only under specific agreements. For licensing inquiries or commercial use, please contact: Tim C. Lueth
Last html export of this page out of FM database by TL: 2025-09-21