help-octave
[Top][All Lists]
Advanced

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

Re: Defining Mathematical "Mode" in Octave


From: Doug Stewart
Subject: Re: Defining Mathematical "Mode" in Octave
Date: Thu, 06 Mar 2008 22:33:26 -0500
User-agent: Thunderbird 2.0.0.12 (Windows/20080213)

DJBrewer wrote:
I'm a newbie at Octave, trying to work in a MATLAB program.

my first error message is 'mode' undefined, which means I need to define a
function for finding the mathematical "mode" of a series of numbers (i.e.,
number that appears most often).  I'm struggling with finding the best way
to do that.
Would it require counting the number of times a unique number appears, and
keeping the unique number that appears the most? Or is there a simpler
method?
Thanks
mode works for me in 3.0.0


reply via email to

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