Functions > Design of Experiments > Monte Carlo Simulation > Example: Monte Carlo Simulation with a Custom Distribution Function
Example: Monte Carlo Simulation with a Custom Distribution Function
This example shows how to use a custom distribution function with the montecarlo function. Using custom distribution function enhances calculation speed, compared to using uniform distribution functions.
1. Create a custom distribution function that is based on the uniform distribution.
2. Define a function to simulate.
3. Define the numbers of samples to generate.
4. Call montecarlo to generate the samples.
Was this helpful?