Number of possible choices, specified as a scalar value of any
numeric type that is real and nonnegative.

**Example: **`10`

**Example: **`int16(10)`

**Data Types: **`single`

| `double`

| `int8`

| `int16`

| `int32`

| `int64`

| `uint8`

| `uint16`

| `uint32`

| `uint64`

Number of selected choices, specified as a scalar value that
is real and nonnegative. `k`

can be any numeric type.
However, `nchoosek(n,k)`

requires that `n`

and `k`

be
the same type or that at least one of them be of type `double`

.

There are no restrictions on combining inputs of different types
for `nchoosek(v,k)`

.

**Example: **`3`

**Example: **`int16(3)`

**Data Types: **`single`

| `double`

| `int8`

| `int16`

| `int32`

| `int64`

| `uint8`

| `uint16`

| `uint32`

| `uint64`

Set of all choices, specified as a vector of numeric, `logical`

,
or `char`

values.

**Example: **`[1 2 3 4 5]`

**Example: **`[1+1i 2+1i 3+1i 4+1i]`

**Example: **`int16([1 2 3 4 5])`

**Example: **`[true false true false]`

**Example: **`['abcd']`

**Data Types: **`single`

| `double`

| `int8`

| `int16`

| `int32`

| `int64`

| `uint8`

| `uint16`

| `uint32`

| `uint64`

| `logical`

| `char`

**Complex Number Support: **Yes