# length

Returns the length of an object's largest dimension.

## Syntax

R = length(a)

## Inputs

`a`- Any valid scalar | string | vector | matrix

## Outputs

- R
- scalar

## Examples

`R = length([1 2 6; 3 4 5])`

`R = 3`

Returns the length of an object's largest dimension.

R = length(a)

`a`- Any valid scalar | string | vector | matrix

- R
- scalar

`R = length([1 2 6; 3 4 5])`

`R = 3`