A (rather rudimentary) MATLAB implementation of 3D polymer/DNA simulation.
This is a MATLAB reimplementation of earlier prototypes written in Python from ruoyouz/polymer.
-
Polymer Models: Generate 3D coordinates of polymer chains using:
-
FJC (Freely Jointed Chain): via
fjc.m -
FRC (Freely Rotating Chain): via
frc.m -
WLC (Worm-like Chain): via
wlc.m
-
FJC (Freely Jointed Chain): via
-
Statistical Analysis:
runCalcR.mcalculates and plots statistical properties of the polymer chain. (e.g., radius of gyration$R_g$ ) -
Fluorescence Imaging Simulation:
runCreateImage.mandrunCreateDNA.msimulate detection events (e.g., in fluorescence microscopy) by convolving the randomly labeled monomers/bps with an aperture function kernel (currently Gaussian for simplicity) in 3D.