Hi Chris, Thanks for your suggestion. rand() works well.
On Thursday, April 24, 2014 1:26:42 PM UTC+2, Chris Foster wrote: > > On Thu, Apr 24, 2014 at 7:52 PM, Isaac <[email protected] <javascript:>> > wrote: > > The rand(1) in julia always produces an array rather than a number > > in Matlab. > > In matlab a scalar is the same as a 1x1 matrix. Luckily julia doesn't > insist on any such madness... try rand() instead :-) >
