I would like to create an $m \times n$-table A
with entries Ai_j
, where $1 \leq i \leq m$ and $1 \leq j \leq n$. I have seen similar questions with subscripts, but I need the entries to be exactly of the form Ai_j
, since I'm importing data from MatLab.
To be more specific, I have a list of equations with variables Ai_j
from Matlab and I want to solve them with Mathematica. For this I need to specify for which variables to solve, but I'm to lazy to type them in one-for-one (its a huge matrix) so I just wanted to use Flatten[A]
.
As written in the comments, another option would be to transport the matrix A=sym('A',[m,n])
from Matlab to Mathematica, but I don't know how either.
Ai_j
from Matlab and I want to solve them with Mathematica. For this I need to specify for which variables to solve, but I'm to lazy to type them in one-for-one (its a huge matrix) so I just wanted to use Flatten[A] $\endgroup$Part
([[]]
) can be used on multi-dimensional lists, too? If so, an example:mat={{1,2},{4,5}}; mat[[2, 1]]
. Please check the document ofPart
for more info. $\endgroup$4*A3_5 +8*A7_9==0
, I would like to solve it for{A3_5,A7_9}
. Now, I have a large number of much more complicated equations in variablesAi_j
. So, how to effectively specify the list of variables inSolve
? $\endgroup$Ai_j
from MATLAB? If so, a more severe problem is, you cannot use_
for variable naming in Mathematica, because it's the short form of built-in functionPattern
. $\endgroup$