---
title: mtx_size
description: get size of a matrix
categories:
- object
pdcategory: General
see_also:
inlets:
  1st:
  - type: matrix
    description: \(n\times m\) input matrix
outlets:
  1st:
  - type: float
    description: number of rows \(n\)
  2nd:
  - type: float
    description: number of columns \(m\)
---

Gets the dimension (number of rows and columns) of a matrix.
