2D Radial Distribution Function

Version 1.0.0 (1.89 KB) by PabiG
Calcs RDF with boundary conditions.
36 Downloads
Updated 10 Jul 2023

View License

Inputs:
dr = width of shell within which it is searched for particles
maxRadius = maximum radius until whihc to calc RDF
coordinates = [X, Y] of size N*2, w´here N is the number of particles
ROIMask = Mask that indicates where exactly the RDF should be calculated. Only coordinates that have the minimum distance 'maxRadius' to the boundary of 'ROIMask' are considered for calculating the RDF in order to account for boundary problems

Cite As

PabiG (2024). 2D Radial Distribution Function (https://www.mathworks.com/matlabcentral/fileexchange/132153-2d-radial-distribution-function), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2023a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0