Site hosted by Angelfire.com: Build your free website today!

rounddec

PURPOSE ^

ROUNDDEC Round to a specified number of decimals.

SYNOPSIS ^

function y = rounddec(x, n)

DESCRIPTION ^

ROUNDDEC Round to a specified number of decimals.

   Y = ROUNDDEC(X, N) rounds the elements of X to N decimals.

   For instance, rounddec(10*sqrt(2) + i*pi/10, 4) returns
   14.1421 + 0.3142i

   See also: ROUND, FIX, FLOOR, CEIL, ROUNDDIG, TRUNCDEC, TRUNCDIG.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^


Generated on Sat 12-Mar-2005 01:01:49 by Rezaul Karim © 2004