Triangular distribution created using makedist function. User specifies N and the 3 parameters for the distribution (Min, Median, Max) by typing values in the command window. Need to modify my function to let user set values for three distributions

1 view (last 30 days)
Overview. Three processes occur at 3 different nodes A, B, and C. The Processes are represented as triangular distributions. Random variables at each node has its own distribution, e.g, node A has (a,b,c) where a is the minimum value, b is the "most likely" value and c is the maximum value. From the command window of Matlab, the user designates these values for each distribution at each node. The user also designates the number of random variables, N, at each node. The overview written above is illustrated in the [.jpeg] image attached. The attached function successfully outputs the user-designated values for N, minimum, "most likely" and maximum parameters for node A. An attempt to modify the function so that the user can specify the N and the 3 parameters for the distribution at nodes B and C was unsuccessful. Any comments would be very much appreciated.

Answers (0)

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!