round2 script download - round2 round2 - Round input to nearest multiple of arbitrary value.

round2 script Publisher Review:


round2 round2 - Round input to nearest multiple of arbitrary value.
round2 - Round input to nearest multiple of arbitrary value. Everyone knows about the ROUND function for converting floating point values to their nearest whole number or integer value, but have you ever wanted to round off values to something other than whole numbers? This simple utility function does just that.Example 1: round PI to 2 decimal places>> round2(pi,0.01)ans =3.14Example 2: round PI to 4 decimal places>> round2(pi,1e-4)ans =3.1416Example 3: round PI to 8-bit fraction>> round2(pi,2^-8)ans =3.1406Examples 4-6: round PI to other multiples>> round2(pi,0.05)ans =3.15>> round2(pi,2)ans =4>> round2(pi,5)ans =5 Requirements: · MATLAB Release: R10

round2 script details and screenshot


Screenshot:

Rating: 10 Votes:
Rating for round2 script: 10 from  votes
Rate this software:


Scan computer and update all your drivers before downloading.

Release date: 0000-00-00
Last update: 2009-10-15
Platform: Windows / Linux / Mac OS / BSD / Solaris
Language: Matlab
Price:Freeware $
Company: Robert Bemis
Info url: http://www.mathworks.com/matlabcentral/fileexchange/loadAuthor.do?objectType=author&objectId=969735




Download round2 script
RECOMMENDED TOOLS


Related tags:

Related downloads

Derivative script      
Derivative Derivative provides the first derivative using a 2nd order difference method.
Price: Freeware$, Rating: 10, Downloads: 0
First-Order Degree Linear Differential Equations script      
First-Order Degree Linear Differential Equations First-Order Degree Linear Differential Eq
Price: Freeware$, Rating: 6, Downloads: 0
Entrop script      
Entrop Entrop implements a special version of the algorithm for entropy maximization.
Price: Freeware$, Rating: 8, Downloads: 0
Hybrid Symbolic and Numerical Simulation script      
Hybrid Symbolic and Numerical Simulation Hybrid Symbolic and Numerical Simulation - Matlab
Price: Freeware$, Rating: 10, Downloads: 0
Math Function in 3D Graphics script      
Math Function in 3D Graphics Math Function in 3D Graphics code allows you to have a 3D rep
Price: Freeware$, Rating: 6, Downloads: 0
matlab scm script      
matlab scm matlab scm - Robotic Manipulator Kinematics
Price: Freeware$, Rating: 10, Downloads: 0
Gauss Quadrature for Tetrahedra script      
Gauss Quadrature for Tetrahedra Gauss Quadrature for Tetrahedra - Compute Gauss weights an
Price: Freeware$, Rating: 10, Downloads: 0
com.wis.math.alg.Matrix script      
com.wis.math.alg.Matrix com.wis.math.alg.Matrix implements the behaviours of the Matrix Cl
Price: Other Free / Open So$, Rating: 9, Downloads: 0