help-octave
[Top][All Lists]
Advanced

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

newbie help with statistics function


From: Daniel Harris
Subject: newbie help with statistics function
Date: Fri, 21 Nov 2008 13:15:24 +0000

Hello All

New to octave and new to maths again but I am working on some statistics work that requires a boxplot and I thing something is wrong.

I entered the following

a= [1; 2; 3; 4; 5; 6; 7; 8; 9; 10 ]

and statistics(a) 

    1.00000
    3.00000
    5.00000
    8.00000
   10.00000
    5.50000
    3.02765
    0.00000
   -1.56164

but isnt the median wrong. shouldnt it be 5.5 and the boxplot also has it at 5 also but

median(a)

ans = 5.5

This is my first attempt with octave (3.01 Debian lenny) and I am a bit confused.

Any help appreciated

Dan


reply via email to

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