round_num
% % -------------------------------------------------------------------------
% The purpose of this function is to round A in terms of/in steps of B, e.g. round 0.26
% in terms of 0.1. This should output 0.3
% -------------------------------------------------------------------------
% input:
% ======
% A -> Input value to be rounded
% B -> Value used to round A
%
% output:
% ======
% val -> rounded value
%
%==========================================================================
Cite As
Maria Stagno Navarra (2024). round_num (https://www.mathworks.com/matlabcentral/fileexchange/87412-round_num), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0 |