## CoinFlipPDF

##### >Psychtoolbox>PsychProbability

px_p = CoinFlipPDF(x,p)

Return the probability that a random variable x was generated by a

CoinFlip with probability of heads given by p. If x is a vector, then p

is a vector containing the probability for each x.

Path Retrieve current version from GitHub | View changelog

`Psychtoolbox/PsychProbability/CoinFlipPDF.m`