MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayMATLAB Central > MATLAB Newsreader > Generating a subarray of random numbers 

Subject: Generating a subarray of random numbers From: Paul Date: 19 May, 2011 01:51:02 Message: 1 of 5 
Is it possible to generate a subarray of random numbers without generating the whole array and then indexing into it? For example: 
Subject: Generating a subarray of random numbers From: ImageAnalyst Date: 19 May, 2011 02:06:52 Message: 2 of 5 
If Y is truly a subarray, that is, it's contained somewhere inside Z, 
Subject: Generating a subarray of random numbers From: Roger Stafford Date: 19 May, 2011 02:49:03 Message: 3 of 5 
"Paul" wrote in message <ir1t26$909$1@newscl01ah.mathworks.com>... 
Subject: Generating a subarray of random numbers From: Paul Date: 21 May, 2011 00:09:04 Message: 4 of 5 
ImageAnalyst <imageanalyst@mailinator.com> wrote in message <c778b909f71d45ab965f54b96a5128ce@t19g2000yql.googlegroups.com>... 
Subject: Generating a subarray of random numbers From: Paul Date: 21 May, 2011 00:23:04 Message: 5 of 5 
"Roger Stafford" wrote in message <ir20ev$grt$1@newscl01ah.mathworks.com>... 
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.