User`s guide

R2014b
2-12
Mathematics
histcounts function for binning numeric data
The histcounts function sorts data into bins with data-dependent bin picking and options
for bin control and normalization.
triangulation functions nearestNeighbor and pointLocation
for identifying the closest vertex and enclosing triangle or tetrahedron for
specified point
The nearestNeighbor function identifies the closest vertex to a query point, and the
pointLocation function identifies the enclosing triangle or tetrahedron for a query point.
Option for interpolating to 'next' and 'previous' neighbors with the
interp1 function and griddedInterpolant class
The interp1 function and griddedInterpolant class now have 1-D support for
interpolating to 'next' and 'previous' neighbors.
The computation time and memory requirements for 'next' and 'previous' are the
same as 'nearest'.
Option for rounding numbers to a specified number of decimal or
significant digits using the round function
The round function can now round to any specified number of decimal or significant
digits.
For example, you can round pi to 2 decimal digits:
round(pi,2)
ans =
3.1400
Or, you can round pi to 2 significant digits: