1 ## Copyright (C) 2004 Andrew Collier <abcollier@users.sourceforge.net>
3 ## This program is free software; it is distributed in the hope that it
4 ## will be useful, but WITHOUT ANY WARRANTY; without even the implied
5 ## warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
6 ## the GNU General Public License for more details.
8 ## You should have received a copy of the GNU General Public License
9 ## along with this file; see the file COPYING. If not, see
10 ## <http://www.gnu.org/licenses/>.
13 ## @deftypefn {Function File} {} @var{anglout} = rad2deg(@var{anglin})
15 ## Converts angles input in radians to the equivalent in degrees.
18 ## Author: Andrew Collier <abcollier@users.sourceforge.net>
20 function anglout = rad2deg(anglin)
21 anglout = anglin * 180 / pi;
24 ## http://www.mathworks.com/access/helpdesk/help/toolbox/map/functionlist.shtml