MATLAB: How to create a random array from a distribution arrayrandom I was wondering how can I create an array of certain dimensions (i.e. 1000×1) from a distribution object? Best Answer N = 1000;pd = makedist('Normal','mu',75,'sigma',10);r = pd.random(N,1); Related SolutionsMATLAB: Isa probability distribution By using >> whosI was able to determine that x's class is a "prob.ToolboxFittableParametricDistribution" object, such that for i=1:3 isa(x(i),'prob.ToolboxFittableParametricDistribution') endreturns true for all three x's. MATLAB: How to plot a probability distribution object Use the pdf function:pd = makedist('Normal','mu',75,'sigma',10);x = 25:125;y = pdf(pd, x);figureplot(x,y)grid Related QuestionHow to go about finding the standard normal probability based on the z-scoreWhat is the difference between mvnrnd and normrnd
Best Answer