Round values after the decimal point 1.0 |
Date Added: April 19, 2013 | Visits: 368 |
|
||||||||
Useful helper function that rounds scalars, vectors or matrices smaller/bigger than zero at a defined place after the decimal point.Needs two input arguments to work properly: out = sRound(val, precision)Usage: out = sRound(val, prec)Example1: a = sRound(0.46,1); a = 0.5000Example2: b = sRound(-5.478,2); b = -5.4800Example3: c = sRound([0.8236 2.6958 3.3171 0.9502 0.0364], 3); c = 0.8240 2.6960 3.3170 0.9500 0.0360 0.34330Example4: d = sRound([-0.1694 -1.4351 0.3925; -0.0522 -2.6 1.3433], 3); d = -0.1690 -1.4350 0.3930 -0.0520 -2.6000 1.3430Example5: e = sRound(3.5); e = 4This code should run with every MATLAB version.
|
License: Shareware | Size: 10 KB |
USER REVIEWS
ROUND VALUES AFTER THE DECIMAL POINT RELATED
Development Tools
-
Multidimensional Systems Toolbox 1.0
This toolbox implements the methods of [1] and [2] to design H-infinity controllers for linear spatio-temporally invariant, or multidimensional (MD), systems. Utilities are also provided for the following types of operations on MD systems:1.... |
5.36 MB | |
Development Editors
-
Flash Double Click Utility 1
What's included: - Root Timeline code example - example1.fla; - MovieClip onClipEvent(load) {} code example - example2.fla; - MovieClip timeline code example - example3.fla; - AddEventListener style code example - example4.fla; - DoubleClick class... |
100 KB | |
Games
-
ASCII GCTB 1.10
ASCII GCTB is aimed at creating game cheat NFO files; however, is suited to creating any text file (NFO, DIZ, or TXT) with ease. The program uses multiple inputs, edit boxes, templates, project files, and a coding syntax to allow creating any... |
1.25 MB |
NEW DOWNLOADS IN SCRIPTS, DEVELOPMENT TOOLS
Scripts
-
Freelancer Script 5.05
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Post projects. Featured projects. Private projects. Sealed projects. Edit/delete projects. Select freelancers.... |
5.49 MB | |
Scripts
-
B2B Script 4.20
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Sign-up Account (Registration of account). Lead generation tools (for the sellers). Email verification to... |
5.49 MB | |
Scripts
-
B2C Script 5.06
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). The script comes with totally editable site colors, icons and graphics Multilevel categories allows extensive browsing Admin can change Category ordering or... |
5.49 MB | |
Scripts
-
Social Networking Script 2.86
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Registration with name, email, password, date of birth etc. User can add multiple school, college, university with start... |
5.49 MB | |
Scripts
-
Business Networking Script 8.04
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Ajax based interface. Profile creation. Different types of profile. Profile for jobseekers, employers and employed... |
5.49 MB | |
Development Tools
-
Aml2CHM 3.50
Those who use the popular Aml Pages text editor might be looking out for a way of generating help files from their text and notes. Aml2CHM is a plug-in that was developed to offer people a quick and efficient way of converting Aml Pages documents... |
549.99 KB | |
Development Tools
-
VMP Viewer 1.0
This is a very rudimentary tool to visualize the VMP files generated by BrainVoyager. Useful to share files with people who do not have BV. |
10 KB | |
Development Tools
-
Sending reports and timestamped file by emailing 1.0
main executing reference usage:[1] usage_send_mail.mIllustrates email sending with multiple separate files or single timestamped tar file. Attachment failure is properly handled, with continuation of report emailing without the attachment.[2]... |
768 KB | |
Development Tools
-
IrisMVC 2.0 rc1
IrisMVC is an OOP PHP framework that developers can use as a strong and secure foundation to build on various web applications following the Model-View-Controller (MVC) pattern. It provides the basic functionality developers need, without... |
51.2 KB | |
Development Tools
-
7-Zip for Script 4.42
7-Zip is a file archiver with a high compression ratio.Features:- High compression ratio in new 7z format with LZMA compression- Supported formats:- Packing / unpacking: 7z, ZIP, GZIP, BZIP2 and TAR- Unpacking only: RAR, CAB, ISO, ARJ, LZH, CHM,... |
624.64 KB |