oc
  tic, for i=1:1000; R = randint2( 100, 10, [0 10] ); end; toc

 USAGE
  R = randint2( m, n, range )

 INPUTS
  m      - m rows
  n      - n cols
  range  - range of ints

 OUTPUTS
  R    - mxn matrix of integers

 EXAMPLE
  R = randint2( 2, 5, [0 1] )

 See also RANDINT

 Piotr's Computer Vision Matlab Toolbox      Version 2.12
 Copyright 2014 Piotr Dollar.  [pdollar-at-gmail.com]
 Licensed under the Simplified BSD License [see external/bsd.txt]</pre></div>





<!-- Start of Google Analytics Code -->
<