www.gusucode.com > 雷达显示界面matlab源码程序 > dAngle.m
function phi = dAngle(a,b) d = a-b; phi = mod(d,2*pi); if phi > pi phi = 2*pi-phi; end