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

rounddig

PURPOSE ^

ROUNDDIG Round to a specified number of digits.

SYNOPSIS ^

function y = rounddig(x, n)

DESCRIPTION ^

ROUNDDIG Round to a specified number of digits.

   Y = ROUNDDIG(X, N) rounds the elements of X to N digits.

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

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

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