source: sasmodels/explore/beta/sphereFormFactor.m @ 3b6567f

Last change on this file since 3b6567f 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
RevLine 
[e262dd6]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.