Code covered by the BSD License  

Highlights from
Logiciels temps réel

Logiciels temps réel

by

 

Real-time software concerning the domains of the signal processing, feedback and regulation

y=dephasage_continu(x)
function y=dephasage_continu(x)

y=x;
dx=diff(x);
while max(abs(dx)>180)
    k=find(abs(dx)>180);
    k0=min(k);
    if dx(k0)>0
        y(k0+1:end)=y(k0+1:end)-360;
    else
        y(k0+1:end)=y(k0+1:end)+360;
    end;
    dx=diff(y);
end;

Contact us