Entries by admin

homework 7 class egre 337 1

Create a MATLAB script file, call it “hw7.m”. Write code to perform the following tasks: Task 1: (15%) Generate N=10000 values of a continuous random variable X that has a uniform distribution (PDF) between 0.0 and 1.0. Display the histogram of X. Hint: rand(), hist(). Task 2: (25%) Create a mapping function that takes a […]