We deliver solutions for the AI eraâcombining symbolic computation, data-driven insights and deep technology expertise.
MatrixForm[list]
prints with the elements of list arranged in a regular array.
Examplesopen allclose all Basic Examples (3)Show the matrix form of a matrix:
Show the matrix form of a SparseArray:
Show vector, matrix, and general arrays in matrix form:
Scope (3)Matrices of numbers and formulas:
Use options to control the layout directions:
Generalizations & Extensions (2) Options (7) TableAlignments (3)Specify the alignment of columns:
Align columns on a decimal point or any character:
Set alignments for successive dimensions:
TableDepth (1)By default, all dimensions are formatted:
Only use matrix formatting for the outermost dimension:
TableDirections (1)By default, the outermost dimension is a column:
Format the first dimension as a row instead:
TableHeadings (1)Specify headings for rows and columns:
TableSpacing (1)The default automatic spacing:
Explicitly specify the spacing between rows and between columns:
Applications (4)Display special matrices with matrix formatting:
Matrices from a matrix decomposition:
Formula for a matrix multiplication:
Display a block matrix as a matrix of matrices:
The array flattened to a matrix:
Properties & Relations (7)MatrixForm formats arrays using standard matrix formatting:
TableForm formats arrays in a tabular form:
Grid formats two-dimensional arrays as a grid:
Use MatrixPlot to visualize the structure of large matrices:
Use ArrayPlot to visualize the structure of large discrete matrices:
Use Style to affect the display of MatrixForm:
Use any number form such as ScientificForm or BaseForm to affect the display of numbers:
The typeset form of MatrixForm[expr] is interpreted the same as expr when used in input:
Copy the output and paste it into an input cell. The (
) is interpreted as {{1,2},{3,4}}:When an input evaluates to MatrixForm[expr], MatrixForm does not appear in the output:
Out is assigned the value {{1,2},{3,4}}, not MatrixForm[{{1,2},{3,4}}]:
Possible Issues (1)Even when an output omits MatrixForm from the top level, it is not stripped from subexpressions:
The output does not have MatrixForm in it:
However, the variable e does have MatrixForm in it, which may affect subsequent evaluations:
The determinant is not evaluated due to the intervening MatrixForm:
Assign variables first and then apply MatrixForm to the result to maintain computability:
HistoryIntroduced in 1988 (1.0) | Updated in 1996 (3.0) ▪ 2003 (5.0)
Wolfram Research (1988), MatrixForm, Wolfram Language function, https://reference.wolfram.com/language/ref/MatrixForm.html (updated 2003). TextWolfram Research (1988), MatrixForm, Wolfram Language function, https://reference.wolfram.com/language/ref/MatrixForm.html (updated 2003).
CMSWolfram Language. 1988. "MatrixForm." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2003. https://reference.wolfram.com/language/ref/MatrixForm.html.
APAWolfram Language. (1988). MatrixForm. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/MatrixForm.html
BibTeX@misc{reference.wolfram_2025_matrixform, author="Wolfram Research", title="{MatrixForm}", year="2003", howpublished="\url{https://reference.wolfram.com/language/ref/MatrixForm.html}", note=[Accessed: 12-July-2025 ]}
BibLaTeX@online{reference.wolfram_2025_matrixform, organization={Wolfram Research}, title={MatrixForm}, year={2003}, url={https://reference.wolfram.com/language/ref/MatrixForm.html}, note=[Accessed: 12-July-2025 ]}
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4