| Author |
Comment/Response |
Damon
|
06/14/06 2:06pm
Let's say I have a list of strings"
List1 = {"AA","BB","CC"}
I would like to create three 2 X 2 matrices whose name correspond to the three entries in List1. i.e. I would like Mathematica to do the following:
AA = Table[0, {i, 1, 2}, {j, 1, 2}]
I tried the following:
ToExpression["AA"] = Table[0, {i, 1, 2}, {j, 1, 2}]
but got an error saying that AA was protected.
Thanks for the help.
URL: , |
|