GET TUTORING NEAR ME!

By providing your phone number, you consent to receive text messages from Club Z! for purposes related to our services. Message frequency may vary. Message and Data Rates may apply. Reply HELP for help or STOP to unsubscribe. See our Privacy Policy and our Terms and Conditions page

    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

    History

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