Question: We are going to use MATLAB to simulate a deck of cards. We will represent our deck deck as a permutation of the integers {1,

We are going to use MATLAB to simulate a deck of cards. We will represent our deck deck as a permutation of the integers {1, 2, . . . , 52} with the following mapping from integers to cards:

1, . . . , 13 maps to 2, . . . , A

14, . . . , 26 maps to 2, . . . , A

27, . . . , 39 maps to 2, . . . , A

40, . . . , 52 maps to 2, . . . , A

Write a function on MatLab that takes an N 5 array of poker hands and finds the hands that are full houses. Use this to estimate the probability that you draw a full house. (Take N = 10, 000).

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!