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_jfrom 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] – Bipolar Minds Mar 27 '20 at 09:23Part([[]]) can be used on multi-dimensional lists, too? If so, an example:mat={{1,2},{4,5}}; mat[[2, 1]]. Please check the document ofPartfor more info. – xzczd Mar 27 '20 at 09:274*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? – Bipolar Minds Mar 27 '20 at 09:34A=sym('A',[m,n])from Matlab somehow to Mathematica (maybe this is what you meant), but I don't know how either – Bipolar Minds Mar 27 '20 at 09:38LinearSolve. – xzczd Mar 27 '20 at 09:50Ai_jfrom 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. – xzczd Mar 27 '20 at 09:55Pattern" Oops, precisely speaking, it should be "FullFormof e.g.Ai_jisPattern[Ai, Blank[j]]". – xzczd Mar 27 '20 at 11:19