Get Math Help

Get Tutoring Info Now!

By submitting the following form, you agree to Club Z!'s Terms of Use and Privacy Policy

Home / Get Math Help

Matrix Dimensions

Usage

Dimensions[expr] gives a list of the dimensions of expr. 
Dimensions[expr, n] gives a list of the dimensions of expr down to level n.

Basic example

Find the dimensions of a matrix:
In[1]:=Dimensions[{{a, b, c}, {d, e, f}}]
Out[1]={2, 3}

Option

AllowedHeads

Relationships with other entities

ArrayDepth | Length | ArrayQ | VectorQ | MatrixQ

Relationships with other entities

History

introduced in Version 1 (June 1988)
last modified in Version 12.1 (March 2020)

Back to List | POWERED BY THE WOLFRAM LANGUAGE