Diffusion in angles - Explore the surface area of a sphere
Version 1.0.1 (5.88 KB) by
John Linehan
Simulate Diffusion on the surface of a hemisphere.
These programs simulate a model describing the motion of anchored motor proteins interacting with biopolymers. Explicitly this simulation is proposed to explain the motion of a fluorescent molecule tagged to the heavy chain of the cytoskeletal motor protein dynein when it is bound to the cell cortex.
It is assumed that the fluorescent label of a single dynein when bound to the cell cortex essentially travels about the surface area of a hemisphere. In the presence of a bio-polymer, for instance a microtubule, the total surface area that the fluorescent molecule can be explore shrinks; due to the propoensity of dynein to interact with the microtubule.
The programs simulate motion in spherical coordinates and map the trajectory to cartesian space to match the signal output collected using single molecule imaging techniques (I.E. single molecule imgaging collects the position of the fluorescent molecule in a 2D plane (x,y)).
The polar angle theta is generated by a Gaussian (normal) distribution. While the azimuthal angle (phi) is dictated by a Uniform distribution. Angles are selected at random for a fixed "radial" coordinate at each time step to generate a trajectory. The coordinates are mapped to cartesian coordinates, and the displacements between successive positions calculated.
Cite As
John Linehan (2026). Diffusion in angles - Explore the surface area of a sphere (https://in.mathworks.com/matlabcentral/fileexchange/120233-diffusion-in-angles-explore-the-surface-area-of-a-sphere), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2022b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
