source: MML/trunk/machine/SOLEIL/StorageRing/dacquantization.m @ 17

Last change on this file since 17 was 17, checked in by zhangj, 10 years ago

To have a stable version on the server.

  • Property svn:executable set to *
File size: 88 bytes
Line 
1function b = dacquantization(a, q)
2
3
4b = a + sign(a) .* q/2 - rem( a+sign(a).*q/2 , q );
Note: See TracBrowser for help on using the repository browser.