1
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
2
<!DOCTYPE MAN SYSTEM "../../manrev.dtd">
4
<LANGUAGE>eng</LANGUAGE>
6
<TYPE>Scilab Function</TYPE>
7
<DATE>April 1993</DATE>
8
<SHORT_DESCRIPTION name="round"> rounding</SHORT_DESCRIPTION>
10
<CALLING_SEQUENCE_ITEM>y=round(x) </CALLING_SEQUENCE_ITEM>
15
<PARAM_NAME>x</PARAM_NAME>
17
<SP>: real or complex matrix</SP>
21
<PARAM_NAME>y</PARAM_NAME>
23
<SP>: integer or complex (with integer real and imag) matrix</SP>
29
<P><VERB>round(x)</VERB> rounds the elements of <VERB>x</VERB> to the nearest integers.</P>
33
round([1.9 -2.5])-[2,-3]
34
round(1.6+2.1*%i)-(2+2*%i)
36
x=rand()*10^20;round(x)-x