# cdfUniform {#cdfuniform}

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

## Syntax {#syntax}

`cdfUniform(lower, upper, X)`

## Arguments {#arguments}

**lower** and **upper** are numeric scalars indicating the lower bound and upper bound of a continuous uniform distribution.

**X** is a numeric scalar or vector.

## Details {#details}

Return the value of the cumulative distribution function of a continuous uniform distribution.

## Examples {#examples}

```
cdfUniform(0.627, 2.31, [0.001, 0.5, 0.999]);
// output: [0, 0, 0.221034]

cdfUniform(0.627, 2.31, [0.1, 0.3, 0.5, 0.7, 0.9]);
// output: [0, 0, 0, 0.043375, 0.16221]
```

