RandomPhotonWalk(Ns​teps,mua)

Monte Carlo Simulation of photon propagating in 3-D space
539 Downloads
Updated 1 Nov 2015

View License

A 3-D Monte Carlo Simulation of a photon propagating in scattering and absorbing media. Given an input of the number of steps (iterations) for the photon to take and the absorption coefficient of media, this function calculates a random walk and returns coordinates of final position and total final distance from origin.

Cite As

Justin Spinner (2024). RandomPhotonWalk(Nsteps,mua) (https://www.mathworks.com/matlabcentral/fileexchange/51216-randomphotonwalk-nsteps-mua), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2013a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Chemistry in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.1.0.0

fixed the bug.

1.0.0.0