MATLAB: How to get specific values from distribution objects normal distributionpdf I have a normal distribution object and its PDF (1000 values). How can I get a vector of 1000 specific numbers that "belong" to that distribution and its PDF ? Thank you. Best Answer Use random() Related SolutionsMATLAB: 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 MATLAB: How to create multidimensional arrays of distribution objects This looks like something that we should fix in a future release. Meanwhile, perhaps you would find this work-around useful:a = makedist('normal'); % create a single distribution objecta = repmat(a,[2 3 4 5]); % expand it to the desired sizea(2,3,4,5) = makedist('Weibull'); % fill in the values you really want Related QuestionNakagami DistributionFinding only circular objectsHow to go about finding the standard normal probability based on the z-score
Best Answer