The following Matlab project contains the source code and Matlab examples used for 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.
The source code and files included in this project are listed in the project files section, please make sure whether the listed source code meet your needs there.