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

ticket_1156ticket_822_more_unit_tests
Last change on this file since cddfef6 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.