Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Variable variable names' topicStudent Support Forum > General > Archives > "Variable variable names"

Next Comment >Help | Reply To Topic
Author Comment/Response
NanakiXIII
07/25/10 09:57am

I'm looking for a simpler way to incorporate variable values into the definitions of symbols. For example, I'd like to create a vector x with elements {x1, x2, ...}. Right now I'm using

Symbol["x" <> ToString[n]]

but I'm wondering whether there is any shorthand way to do this.

URL: ,

Subject (listing for 'Variable variable names')
Author Date Posted
Variable variable names NanakiXIII 07/25/10 09:57am
Re: Variable variable names Peter Pein 08/01/10 05:17am
Next Comment >Help | Reply To Topic