function p = ltpda_phase(resp) LTPDA_PHASE return the phase in degrees for a given complex input. Supposed to be analogous to angle but return degrees instead of radians. M Hewitson 26-01-07 $Id: ltpda_phase.html,v 1.1 2007/06/08 14:15:10 hewitson Exp $
0001 function p = ltpda_phase(resp) 0002 0003 % function p = ltpda_phase(resp) 0004 % 0005 % LTPDA_PHASE return the phase in degrees for a given complex input. Supposed to 0006 % be analogous to angle but return degrees instead of radians. 0007 % 0008 % M Hewitson 26-01-07 0009 % 0010 % $Id: ltpda_phase.html,v 1.1 2007/06/08 14:15:10 hewitson Exp $ 0011 % 0012 0013 p = angle(resp)*180/pi; 0014 0015 % END