numCombinations¶

Purpose¶

Computes number of combinations of n things taken k at a time.

Format¶

y = numCombinations(n, k)
Parameters
• n (scalar) –

• k (scalar) –

Returns

y (scalar) – number of combinations of n things take k at a time.

Examples¶

y = numCombinations(25,5);

print y;


The code above, returns:

53130.0000


Remarks¶

To calculate all of the combinations, use the function combinate().