Home > Support > NI Product Manuals > LabVIEW Communications System Design Suite 1.0 Manual
Version:

    Computes a binomial coefficient.

    Syntax

    c = nchoosek(a, b) 
    c = nchoosek(v, b) 

    Inputs

    a

    Non-negative integer.

    b

    Non-negative integer.

    v

    Vector of any type.

    Outputs

    c

    Binomial coefficient a choose b. c is an integer. If a is a vector, c is a matrix with each row being one possible combination with b elements.