|
[Date Index]
[Thread Index]
[Author Index]
Converting a string to a variable name
- To: mathgroup at smc.vnet.net
- Subject: [mg90318] Converting a string to a variable name
- From: Aaron Fude <aaronfude at gmail.com>
- Date: Sat, 5 Jul 2008 04:52:17 -0400 (EDT)
Hi,
Is it possible to create a variable whose name is contained in another
variable or a string, something along the lines of
Table[ a="Var"<>ToString[i]; Variable[a] = i^2, {i, 1, 10}]
and end up with variables Var1, ..., Var10?
Thanks!
Aaorn
Prev by Date:
Re: Integration
Next by Date:
Re: lie symmetry package
Previous by thread:
programming a simple neural network
Next by thread:
Re: Converting a string to a variable name
|