MathGroup Archive 2010

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

Search the Archive

Re: Question


On 9 Jun., 13:19, David Lengacher <dclengac... at gmail.com> 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
Hi,

Is this what you are loking for?

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

Markus


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