I have the lists in matrix form, as shown in the screenshot fig.2 below. I would like to convert it to pure matrix like fig.1
Edited: For example:
(\!\(\*
TagBox[GridBox[{
{
RowBox[{"{",
RowBox[{"1", ",", "2", ",", "3"}], "}"}]},
{
RowBox[{"{",
RowBox[{"4", ",", "5", ",", "6"}], "}"}]},
{
RowBox[{"{",
RowBox[{"7", ",", "8", ",", "9"}], "}"}]}
},
GridBoxAlignment->{
"Columns" -> {{Center}}, "ColumnsIndexed" -> {},
"Rows" -> {{Baseline}}, "RowsIndexed" -> {}},
GridBoxSpacings->{"Columns" -> {
Offset[0.27999999999999997`], {
Offset[0.5599999999999999]},
Offset[0.27999999999999997`]}, "ColumnsIndexed" -> {}, "Rows"
-> {
Offset[0.2], {
Offset[0.4]},
Offset[0.2]}, "RowsIndexed" -> {}}],
Column]\))
MatrixForm
from fig 2, and just domat = {list1,list2,....,listn}
should do it. But it is better to post the plain text Mathematica code you used to generate this. $\endgroup$MatrixForm
from the code that created your expression in the question. If, however, all you have is that expression, copy it into anIn
line and execute it. $\endgroup$