help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NCHOOSEK function


From: Diego Ruiz Moreno
Subject: Re: NCHOOSEK function
Date: Wed, 3 Mar 2004 09:22:27 -0800

Thanks,
  but I want the matrix of subsets....

 NCHOOSEK(V,K) where V is a vector of length N, produces a matrix 
    with N!/K!(N-K)! rows and K columns. Each row of the result has K of the 
elements in the vector V. 

   D.

>Date: Wed, 3 Mar 2004 16:53:38 +0100
> Christoph Dalitz  "Diego Ruiz Moreno" Cc: address@hidden
> Re: NCHOOSEK function
>On Wed, 3 Mar 2004 08:28:25 -0800
>"Diego Ruiz Moreno"  wrote:
>>
>>  Is there a equivalent to the NCHOOSEK matlab function in OCTAVE ?
>>
>bincoeff(n,k) should do what you need. For sums over binomial coefficients
>you should also have a look at binomial_cdf().
>
>Christoph
>
>On Wed, 3 Mar 2004 08:28:25 -0800
>"Diego Ruiz Moreno"  wrote:
>>
>>  Is there a equivalent to the NCHOOSEK matlab function in OCTAVE ?
>>
>bincoeff(n,k) should do what you need. For sums over binomial coefficients
>you should also have a look at binomial_cdf().
>
>Christoph



------------------------------------------------------------
http://Game.37.com/  <--- Free Games
http://newJoke.com/   <---  J O K E S  ! ! !

reply via email to

[Prev in Thread] Current Thread [Next in Thread]