Recent content by neeraj.patel1

  1. N

    MATLAB code to Geometric Random Variable

    Homework Statement Generate Geometric RV with Porbabilty of succcess 0.1 using only rand() Homework Equations rand() geometric rv P=(1-p)^(k-1) * p where p=0.1, k is number of trial in which we get 1st success The Attempt at a Solution rand(n)
  2. N

    MATLAB code to Generate Raleigh Random Variable

    MATLAB code to find ratio of pair of uniform RV Homework Statement Generate 100000 pairs of Uniform RV. Find ratio of each pair of RV.Plot histogram and compare to standard Cauchy density. Homework Equations rand() box muller cauchy=1/pi*(1+x^2) hist() The Attempt at a Solution use box...
  3. N

    MATLAB code to Generate Raleigh Random Variable

    What is the Matlab code for generating 100,000 Raleigh Random Variable with sigma^2=2 using rand command only. Generate histogram and normalize it by dividing 1,00,000 times the bin width
Back
Top