Services & Resources / Wolfram Forums / MathGroup Archive

MathGroup Archive 2010

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

Search the Archive

Re: Question

  • To: mathgroup at
  • Subject: [mg110249] Re: Question
  • From: "M.Roellig" <markus.roellig at>
  • Date: Thu, 10 Jun 2010 08:08:38 -0400 (EDT)
  • References: <huntc8$bka$>

On 9 Jun., 13:19, David Lengacher <dclengac... at> wrote:
> How can you create a set of variables: x1 to xn  using the Table, or so me
> similar function?    I need a large list of variables to use in a linear
> program and so far have to type them out manually.
> David

Is this what you are loking for?

Table[ToExpression["A" <> ToString[i]], {i, 1, 10}]


  • Prev by Date: Re: Question
  • Next by Date: using rules for square roots
  • Previous by thread: Re: Question
  • Next by thread: Re: Question