[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: define range in octave
From: |
Jordi Gutierrez Hermoso |
Subject: |
Re: define range in octave |
Date: |
Tue, 25 Jul 2006 16:59:25 -0500 |
On 25/07/06, Aarti Gupta <address@hidden> wrote:
I am trying to construct a histogram for a given data set.
Octave-forge contains functions for histograms (named histo, histo2,
and so on; consult the online help), and the 2.9 main Octave branch
has a built-in hist function. E.g.
octave2.9:1> x = rand(100,1)*45;
octave2.9:2> y = [2.5, 10:10:40];
octave2.9:3> hist(x,y)
will get you what you want.
HTH,
- Jordi G. H.