You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
In SH, liberal and fascist cards are pulled from the deck. There are a predetermined number of fascist and liberal cards in the deck (11 F, 6 L, 17 Total). The probability of drawing 3 combinations of cards varies based on the number of each card which has been discarded (or has CLAIMED to have been discarded). Simply enter the type of draw that was claimed to have been made (I.E. FFF, FFL, LLF, LLL) as well as the number of each card that has been claimed to have been discarded (0-6 Liberal, 0-11 Fascist), and the function will output the probability of that draw given the deck configuration. Yes, I am a nerd.
Cite As
John Tidman (2026). SH_Draw_Probability() (https://se.mathworks.com/matlabcentral/fileexchange/56351-sh_draw_probability), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.1.0.0 (2.81 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.1.0.0 | UPDATE 4-6-16: I made it so that no matter what case you input for the draws (including mixed case i.e. fFl, FlL, etc) it should be able to figure out your draw type. |
||
| 1.0.0.0 | Note that there are several types of draws in SH. FFF (3-Fascist), LLL (3-Liberal), FFL, LLF. These final 2 can be entered any way you want (i.e. FLF, LFF, LFL, FLL). |
