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

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

Initial import--MML version from SOLEIL@2013

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.