To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

Statistics Download as Zip
| Branch: | Revision:

root / _beattracker / princarg.m @ 8:b5b38998ef3b

History | View | Annotate | Download (134 Bytes)

1
function phase=princarg(phasein)
2
%phase=princarg(phasein) maps phasein into the [-pi:pi] range
3
    phase=mod(phasein+pi,-2*pi)+pi;