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.
引用
ben payne (2025). structure factor (https://jp.mathworks.com/matlabcentral/fileexchange/31329-structure-factor), MATLAB Central File Exchange. に取得済み.
MATLAB リリースの互換性
プラットフォームの互換性
Windows macOS Linuxカテゴリ
タグ
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!| バージョン | 公開済み | リリース ノート | |
|---|---|---|---|
| 1.0.0.0 |
