# randPoisson {#randpoisson}

**Parent topic:**[Functions](../../Functions/category.md)

## Syntax {#syntax}

`randPoisson(mean, count)`

## Arguments {#arguments}

**mean** is the mean of a Poisson distribution.

**count** is the number of random values to be generated.

## Details {#details}

Return a vector of random values with Poisson distribution.

## Examples {#examples}

```
randPoisson(2.31, 2);
// output: [7, 2]
```

