Index   |   toolbox > geo > private > roundn.m
<<  rotatem rsphere  >>
roundn
PURPOSE ^
ROUNDN Rounds input data at specified power of 10
SYNOPSIS ^
function [x,msg] = roundn(x,n)
DESCRIPTION ^
ROUNDN  Rounds input data at specified power of 10

  y = ROUNDN(x) rounds the input data x to the nearest hundredth.

  y = ROUNDN(x,n) rounds the input data x at the specified power
  of tens position.  For example, n = -2 rounds the input data to
  the 10E-2 (hundredths) position.

  [y,msg] = ROUNDN(...) returns the text of any error condition
  encountered in the output variable msg.

  See also ROUND
DOWNLOAD M-File ^
1.17 KByte
CROSS-REFERENCE INFORMATION ^
This function calls:
This function is called by:
CLIPDATA Clip map data at the -pi to pi border of a display
DMS2MAT Converts a dms vector format to a [deg min sec] matrix
HMS2MAT Converts a hms vector format to a [hrs min sec] matrix
MAT2DMS Converts a [deg min sec] matrix to vector format
MAT2HMS Converts a [hrs min sec] matrix to vector format
UTM Universal Transverse Mercator Cylindrical Projection


Generated on Sat 09-May-2009 10:36:05 by m2html © 2003, Revision by Ch.Begler 2008
^