# numel

Returns the number of elements in `x`.

## Syntax

numel(x)

## Inputs

`x`- Any valid input.

## Outputs

- R
- Number of elements.

## Example

Simple numel example.

```
a = [ 1 2 3 4 5 6]
R = numel(a)
```

`R = 6`

Returns the number of elements in `x`.

numel(x)

`x`- Any valid input.

- R
- Number of elements.

Simple numel example.

```
a = [ 1 2 3 4 5 6]
R = numel(a)
```

`R = 6`