Question: Write code in MATLAB I. (10 points) Consider an experiment of tossing a biased coin n = 100 times and recording the number of heads.
Write code in MATLAB

I. (10 points) 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)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
