source: sasmodels/explore/beta/sphereFormFactor.m @ c1e44e5

Last change on this file since c1e44e5 was e262dd6, checked in by Paul Kienzle <pkienzle@…>, 6 years ago

futher cleanup; include Yun's hardsphere and sphere models from matlab

  • Property mode set to 100644
File size: 127 bytes
Line 
1function data=sphereFormFactor(Q,radius)
2
3data= ( 3 * (sin(Q*radius) - Q*radius.*cos(Q*radius)) ./ (Q*radius).^3).^2 ;
4
5return;
Note: See TracBrowser for help on using the repository browser.