Stirling Numbers of the Second Kind

Calculates the Stirling Numbers of the Second Kind
1.2K Downloads
Updated 13 Sep 2006

View License

The number of ways of partitioning a set of n elements into k nonempty sets iscalled a Stirling set number. For example, the set {1,2,3} can be partitioned into three subsets in one way: {{1},{2},{3}}; into two subsets in three ways: {{1,2},{3}}, {{1,3},{2}}, and {{1},{2,3}}; and into one subset in one way: {{1,2,3}}.

Cite As

Nikolaus Correll (2024). Stirling Numbers of the Second Kind (https://www.mathworks.com/matlabcentral/fileexchange/12256-stirling-numbers-of-the-second-kind), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14SP3
Compatible with any release
Platform Compatibility
Windows macOS Linux

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