# randStudent {#randstudent}

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

## Syntax {#syntax}

`randStudent(df, count)`

## Arguments {#arguments}

**df** is a positive floating number indicating the degree of freedom of a Student's t-distribution.

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

## Details {#details}

Return a vector of random values with Student's t-distribution.

## Examples {#examples}

```
randStudent(2.31, 2);
// output: [-0.543993, 0.375804]
```

