help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Normal distribution


From: Red Crow
Subject: Normal distribution
Date: Thu, 24 May 2007 02:05:07 -0500 (CDT)

Hello:

     This is the run i've had made in octave :

#######################

octave:1> a=[210e-9:10e-9:340e-9]
a =

 Columns 1 through 10:

   2.1000e-07   2.2000e-07   2.3000e-07   2.4000e-07   2.5000e-07   2.6000e-07   2.7000e-07   2.8000e-07   2.9000e-07   3.0000e-07

 Columns 11 through 14:

   3.1000e-07   3.2000e-07   3.3000e-07   3.4000e-07

octave:2> b=mean(a)
b =  2.7500e-07
octave:3> c=var(a)
c =  1.7500e-15
octave:4> d=normal_cdf(a,b,c)
d =

 Columns 1 through 13:

  0.060116  0.094297  0.141029  0.201392  0.275049  0.359959  0.452431  0.547569  0.640041  0.724951  0.798608  0.858971  0.905703

 Column 14:

  0.939884

octave:5> e=normal_pdf(a,b,c)
e =

 Columns 1 through 10:

   2.8519e+06   4.0182e+06   5.3471e+06   6.7203e+06   7.9770e+06   8.9428e+06   9.4687e+06   9.4687e+06   8.9428e+06   7.9770e+06

 Columns 11 through 14:

   6.7203e+06   5.3471e+06   4.0182e+06   2.8519e+06

octave:6>

###################

    what happend?

    I need to compare this values with other obtanied in a meditions in the same range.


      Algalan-Meneses Mauricio



Llama gratis a cualquier PC del mundo.
Con una excelente calidad de sonido.
Yahoo! Messenger

reply via email to

[Prev in Thread] Current Thread [Next in Thread]