Monte Carlo methods use random sampling to simulate processes of a probabilistic nature and to solve numerical problems approximately. An example application might be the simulation of fluctuations in the positions of detected photons suffering diffraction. These methods rely heavily upon pseudo-random numbers generated by nonlinear computer algorithms and distributed uniformly or normally over a range.
This script explores the generation of samples of a random variable described by an arbitrary probability density function (pdf) and may interest students and teachers of physics and engineering. 'Try this' suggestions are included.
인용 양식
Duncan Carlsmith (2026). SampleArbitraryProbabilityDistributionExplorer (https://kr.mathworks.com/matlabcentral/fileexchange/123350-samplearbitraryprobabilitydistributionexplorer), MATLAB Central File Exchange. 검색 날짜: .
MATLAB 릴리스 호환 정보
개발 환경:
R2022b
모든 릴리스와 호환
