i looking any matlab function that can calculate 'combination' such as (3 C 2) =3.
There is a matlab function for (5 C 3)=10, but returns errors as following. Please help me to suggest
combos = combntns(1:5,3)
Undefined function 'combntns' for input arguments of type 'double'.