MATLAB: How to random an array of data with upper and lower limits

array

I am new with matlab.
I does not how to random this array of 32 data….
lb=[57 66 22 22 17 8 32 33 36 33 18 41 80 115 105 70 57 42 17 17 12 10 11 20 36 37 20 30 35 15 20 2]%lower limit
ub=[1170 1303 440 440 330 87 675 650 720 640 350 220 2200 2100 2100 1400 1139 837 405 220 240 269 220 730 710 400 600 661 150 105.5 330 29]%upper limit
I would like to have 32 output of data that are random by limiting the data with the given upper and lower limit.

Best Answer

data = lb + rand(1,32). * ( ub - lb );