Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: simple question about random

  • To: mathgroup at
  • Subject: [mg58934] Re: [mg58894] simple question about random
  • From: Murray Eisenberg <murray at>
  • Date: Sun, 24 Jul 2005 01:21:53 -0400 (EDT)
  • Organization: Mathematics & Statistics, Univ. of Mass./Amherst
  • References: <>
  • Reply-to: murray at
  • Sender: owner-wri-mathgroup at

Table[Random[], {6}]

Or use whatever arguments in Random are relevant, e.g.:

Table[Random[Integer, {0, 100}], {6}]

Mazuego wrote:
> Hi all... The built-in function "Random" gives a random number in a chosen
> range. How can I have, for example, 6 random numbers with a single
> instruction? Thank you very much for your answers, and forgive me for the
> simple question, but I'm new in Mathematica...

Murray Eisenberg                     murray at
Mathematics & Statistics Dept.
Lederle Graduate Research Tower      phone 413 549-1020 (H)
University of Massachusetts                413 545-2859 (W)
710 North Pleasant Street            fax   413 545-1801
Amherst, MA 01003-9305

  • Prev by Date: Re: limit problem
  • Next by Date: Re: problem with Delete[]
  • Previous by thread: simple question about random
  • Next by thread: Re: simple question about random