No BSD License
Highlights from
ROUND2
|
|
| File Information |
| Description |
ROUND2 Round to a specified number of decimals.
ROUND2(A) returns the same as ROUND(A).
ROUND2(A, 'even') returns the same as ROUND(A). Elements with
fractional part equal to 0.5 are rounded to even integers.
ROUND2(A, N) rounds the elements of A to decimals specified in N.
ROUND2(A, N,'even') rounds the elements of A to decimals specified
in N. Elements with 5 as the (N+1)-th digit after decimal are rounded
to even numbers.
See also: ROUND, FIX, FLOOR, CEIL, FIX2. |
| Acknowledgements |
This submission has inspired the following:
Round to a Specified Number of Significant Digits, Round to Specified Digits Place
|
| MATLAB release |
MATLAB 7 (R14)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (16) |
| 13 Apr 2005 |
Johnny C.
|
|
|
| 19 Jul 2005 |
Oliver Lockwood
|
|
|
| 02 Aug 2005 |
Mukhtar Ullah
|
|
|
| 11 Sep 2005 |
Serena F.
|
|
|
| 11 Apr 2006 |
Kurt Rosenberger
|
|
|
| 11 May 2007 |
Senthilkumaran K
|
|
|
| 05 Feb 2008 |
Mukhtar Ullah
|
|
|
| 18 Feb 2008 |
Angel Atanasov
|
|
|
| 27 Apr 2008 |
Amita Deb
|
|
|
| 30 Apr 2008 |
John Greeb
|
|
|
| 08 Jun 2008 |
Kian Chai
|
|
|
| 11 Oct 2008 |
Srikant Vallabhajosula
|
|
|
| 14 Oct 2008 |
Senthilkumaran K
|
|
|
| 19 Jul 2010 |
Daniel
|
|
|
| 14 Aug 2011 |
Soumyadipta Sarkar
|
|
|
| 12 Jan 2012 |
Nikolaos
|
|
|
| Updates |
| 21 Oct 2004 |
improved version |
| 14 Apr 2005 |
major bug fixed! |
| 14 Apr 2005 |
another hidden bug fixed! |
| 14 Apr 2005 |
improvement and corrected description |
|
Contact us at files@mathworks.com