There are 52 different cards in a deck. How many different hands of 5 cards each are possible?
I tried nchoosek(52,5), but the question also mentions that every hand can be arranged 120 different ways, so I am confused.
Thank you

 採用された回答

Wayne King
Wayne King 2011 年 9 月 23 日

0 投票

I think that is just telling you that 5!=120
nchoosek(52,5) is equal to 52!/(52-5)! 5!
so nchoosek() already accounts for that.

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeLoops and Conditional Statements についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by