Let the probability of heads be p 07 create a function


Please use MatLab to do the following question:

Consider an experiment of tossing a biased coin n = 100 times and recording the number of heads.

Let the probability of heads be p = 0.7. Create a function that returns a vector of t = 10000 trials of the experiment.

The signature of the function should be trials = function(n, t, p).

Request for Solution File

Ask an Expert for Answer!!
MATLAB Programming: Let the probability of heads be p 07 create a function
Reference No:- TGS02894622

Expected delivery within 24 Hours