Skip to content
Matlab-ToolboxPublic

About

roundn for versions of matlab which do not include the function

Resources

Stars

0 stars

Watchers

2 watching

Forks

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Roundn

roundn for versions of matlab which do not include the function.

Example

roundn(5, 1) %rounded to precision of 10^1 (10)
> 10

roundn(1.44, -1) %Rounded to precision of 10^-1 (0.1)
> 1.4

Installation

To get library clone from github:

cd to your lib folder
git clone https://github.com/Matlab-Toolbox/roundn.git

Add package to path:

%% Add package to path
run(['/path_to_package/roundn/load_toolbox.m']);

About

roundn for versions of matlab which do not include the function

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages