varstat3

algorithm

  • calculates and plots histogram of distribution of variable1
  • number of bars in histogram according to formula of Sturges;
  • calculates and plots true pdf of distribution, pdf is based on 100 points
  • calculates and plots gaussian pdf of distribution, pdf is based on 100 points,
  • calculates mean value, standard deviation, skewness and kurtosis of distribution

 velstat 

syntax

[xpdf,fprob,fgauss,STATVAR]=varstat3(variable1)

example for input

[xpdf,fprob,fgauss,STATVAR]=varstat3(x_velocity)

input arguments

variable1

variable to be considered, e.g. x_velocity
matrix or vector

output arguments

xpdf

intervals of histogram and pdf's

fprob

normalized frequency values of true pdf (area =1)

fgauss

values of gaussian pdf

SATVAR

mean value

second order moment: standard deviation,

third order moment: skewness,

fourth order moment: kurtosis

plot

histogram and pdf of variable1

corresponding Gaussian pdf

 

matlab tools required

  • statistic toolbox

corresponding2d tool

Letzte Änderung: 24.02.2015 - Ansprechpartner: Dominique Thevenin