structure factor
by ben payne
05 May 2011
Calculate structure factor based on positions of scatterers in real-space.
|
Watch this File
|
| File Information |
| Description |
Calculate structure factor based on positions of scatterers in real-space. Functions for one and two dimensions.
You supply system size and scatterer positions on a integer lattice, function returns structure factor and momentum-space coordinates for plotting. Two or three dimensional plot is also created with appropriate axis labels.
See
http://en.wikipedia.org/wiki/Structure_factor
for more background.
Calculations for systems with length larger than 100 take a long time since loops are not vectorized. This is because the purpose is educational rather than for use with data from actual experiments. |
| MATLAB release |
MATLAB 7.10 (2010a)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
|
Contact us at files@mathworks.com