title: Octave random Rational Numbers gernrator
body: <p>I just start to study about Octave and I have a question about getting Rational Numbers.</p>
  
  <p>I just check </p>
  
  <blockquote>
    <p><a href="http://www.gnu.org/software/octave/doc/interpreter/Random-Number-Generation.html#Random-Number-Generation" rel="nofollow">http://www.gnu.org/software/octave/doc/interpreter/Random-Number-Generation.html#Random-Number-Generation</a></p>
  </blockquote>
  
  <p>this page to learn the way to get random Rational Numbers.
  for example..</p>
  
  <p>if we use rand(1, 3.1)</p>
  
  <p>i would like to get random number between 1 and 3.1 (like 2.34)</p>
  
  <p>However, i am not really sure about function that i have to use..</p>
  
  <p>can you give some example ?</p>
  
  <p>thanks</p>