Path: Math/Analysis
% Generate a list of random variables with some specified distribution
--------------------------------------------------------------------------
   Form:
   xOuts = MakeDistribution(x,f,N)
--------------------------------------------------------------------------
   ------
   Inputs
   ------
   x             (1,:)  Vector of distribution function independent
                        variable values, the x in f(x)
   f             (1,:)  Vector of distribution function values evaluated
                        at x, the f in f(x)
   N             (1,1)  How many variables to generate with that f(x)?
   -------
   Outputs
   -------
   xOuts         (1,N)  Vector of random values, x, with probability
                        distribution f(x)
--------------------------------------------------------------------------
   Copyright (c) 2020 Princeton Satellite Systems, Inc.
   All rights reserved.
--------------------------------------------------------------------------
   Since version 2020
--------------------------------------------------------------------------
Common: Graphics/NewFig
Back to the Math Module page