From bug-octave-request at bevo dot che dot wisc dot edu Wed Feb 19 18:56:09 2003 Subject: freqz's phase units From: Doug Stewart To: bug-octave at bevo dot che dot wisc dot edu Date: Wed, 19 Feb 2003 19:55:38 -0500 freqz.m This is 2 part issue a) matlab compatibility b) normal usage by math profs. and engineers Matlab's freqz uses degrees for phase angle. If freqz is to produce a Bode plot then it must use degrees In my copy I have changed plot (w, phase/(2*pi), ";Phase (radians/2pi);"); to ## added *360 Doug Stewart plot (w, phase*360/(2*pi), ";Phase (radians*360/2pi);"); this makes it compatible and "standard". Doug Stewart ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------