<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Aptech &#187; Answers for "How to create random integers within a specific range?"</title>
	<atom:link href="http://www.aptech.com/questions/how-to-create-random-integers-within-a-specific-range/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.aptech.com</link>
	<description></description>
	<lastBuildDate>Fri, 08 Feb 2013 19:12:28 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.1</generator>
		<item>
		<title>By: admin</title>
		<link>http://www.aptech.com/questions/how-to-create-random-integers-within-a-specific-range/#answer-1244</link>
		<comments>http://www.aptech.com/questions/how-to-create-random-integers-within-a-specific-range/#answer-1244#comments</comments>
		<pubDate>Thu, 30 Aug 2012 11:47:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<guid isPermaLink="false">http://www.aptech.com/questions/how-to-create-random-integers-within-a-specific-range/#answer-1244</guid>
		<description><![CDATA[You can create random integers with a range of [1, maxRange] by multiplying a vector of uniform random numbers by maxRange and then applying the ceil function to round these numbers up to the next whole number. For example to &#8230; <a href="http://www.aptech.com/questions/how-to-create-random-integers-within-a-specific-range/#answer-1244">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>You can create random integers with a range of [1, maxRange] by multiplying a vector of uniform random numbers by maxRange and then applying the ceil function to round these numbers up to the next whole number. For example to create 40 random integers between 1 and 30, you could:</p>
<pre style="padding-left: 30px;">r = ceil(30 * rndu(40, 1));</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.aptech.com/questions/how-to-create-random-integers-within-a-specific-range/#answer-1244/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Served from: www.aptech.com @ 2013-02-09 01:57:35 --