How to work MATLAB built in function nchoosek(n,k) to calculate more than one combinations?
If I have to calculate 10C4(i.e. nchoosek(10,4)),10C3,10C2,10C1, Can I calculate all these four values using one command? .e.g. in case of factorial If I have to calculate 1! 2! 3! 4! 5!, My...
23 December 2016
7,503
2
View