image thumbnail

updated 10 months ago

Round, Ceil and Floor Matlab-datenumbers by Oscar Hartogensis

round/ceil/floor a Matlab datenumber to the nearest N or multiple N of a time_unit (datenumber, timestamp, round)

datenumCeil2_OH(datenumber,time_unit,N,do_Nmult)

datenumFloor2_OH(datenumber,time_unit,N,do_Nmult)

datenumRound2_OH(datenumber,time_unit,N,do_Nmult)

image thumbnail

updated 11 months ago

Round Toward Vector of Values by Tom R

Round values towards a given vector of choices. (ceil, data, floor)

newnums=roundtowardvec(X,roundvec,type)

image thumbnail

updated almost 2 years ago

vRound by Alexandra

variable rounding (round, ceil, floor)

vround(VALUE, EXPONENT, varargin)

image thumbnail

updated almost 5 years ago

Round to a Specified Number of Significant Digits by Edward Zechmann

Rounds a numeric array to a specified number of Significant Digits. (sig figs, round, digits)

[A2, A_str, real_digitsL, real_digitsR, imag_digitsL, imag_...

Contact us