help-octave
[Top][All Lists]
Advanced

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

Re: NCHOOSEK function


From: Quentin Spencer
Subject: Re: NCHOOSEK function
Date: Wed, 03 Mar 2004 10:44:17 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040116

Diego Ruiz Moreno wrote:

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.
This function exists in octave-forge
http://sourceforge.net/projects/octave/

Quentin



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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