Expand Bounds
Calculate an expanded bounding region based on a percent of the existing boundaries
expandbound(g, pct = 0.1)
g
: vector of valuespct
: fractional percent to expanduses the range of the exising vector to estimate the expanded bound
vector, new range
Jonathan M. Leesjonathan.lees@unc.edu
i = 5:10 exi = expandbound(i, pct = 0.1) range(i) range(exi)
Useful links