binomial.m

This program computes the binomial coefficient C(n,m).

Vous suivez désormais cette soumission

Given nonnegative integers m and n with m <= n, this program computes the binomial coefficient C(n,m). It's about time someone wrote code to do this! I couldn't find it anywhere.

Citation pour cette source

David Terr (2026). binomial.m (https://fr.mathworks.com/matlabcentral/fileexchange/4901-binomial-m), MATLAB Central File Exchange. Extrait(e) le .

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
1.0.0.0

Greg von Winckel sent me another version, which although not as accurate is much faster for large input, so I use his version when n>100.