[Top][All Lists]

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

nchoosek question

From: Frank Palazzolo
Subject: nchoosek question
Date: Fri, 9 Dec 2005 11:13:20 -0500


I am using nchoosek(n,k) to generate the number of combinations
Unfortunately, it seems there is no vectorized version, for n and k are
vectors or matrices of the same size.

I don't want to generate the actual combinations, which is what nchoosek()
does if you start using vectors.  Did matlab decided to use the same
function for two different things?  Seems like a bad idea to me. I hate to
iterate through the matrices myself... :(


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

Octave's home on the web:
How to fund new projects:
Subscription information:

reply via email to

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