title: Julia - Random number in different intervals
body: <p>Hello</p>
  
  <p>I would like create an array with numbers from different intervals.</p>
  
  <p>For example, with the following code:</p>
  
  <pre><code>using Distributions
  
  A = rand(Uniform(1,10),1,20)
  </code></pre>
  
  <p>"A" contains 20 numbers between 1 and 10.</p>
  
  <p>I would like create "B" where "B" contains 20 numbers between 1 and 4, or between 6 and 10 but not between 4 and 6.</p>
  
  <p>Is it possible ?</p>
  
  <p>Thank you   </p>