How can I create a script that calculates this combinatorial?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
0 Commenti
Risposte (1)
Vladimir Sovkov
il 23 Ago 2020
C=nchoosek(n,r)
2 Commenti
Vladimir Sovkov
il 24 Ago 2020
Here you compute but not the binomial coefficient . Is this what you really want? Otherwise, what stops you from using the inbuilt function nchoosek, which is much more efficient than any loop construction can be?
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!