Choosenk.m

Version 1.0.0.0 (396 Bytes) by Faryad
number of ways of choosing k objects from n objects
159 Downloads
Updated 1 Jul 2014

View License

% This code does the same job of "nchoosek(n,k)" builtin code for
% the number of ways of choosing k objects from n distinct objects.
% The mathematical definition is C=n!/(n-k)!/k!
% This code is pretty faster than the MATLAB builtin code.

Cite As

Faryad (2024). Choosenk.m (https://www.mathworks.com/matlabcentral/fileexchange/47107-choosenk-m), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Create System Objects in Help Center and MATLAB Answers
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0