User`s guide
R2010a
13-12
Compatibility Considerations
Scalars extricated from sparse matrices are no longer full. If you previously used the
output with a function that does not support sparse input, you now need to update your
code. For a list of the functions that do not support sparse matrices, see Functions That
Do Not Support Sparse Matrices in the MATLAB Mathematics documentation.
Improved Error Checking for Sparse Functions
Functions that erroneously accepted N-D arrays and returned reshaped sparse 2-D
outputs no longer accept full N-D inputs and now return an error. The functions affected
are:
• spones, spfun, sprand, sprandn, and sprandsym
• cat, horzcat, and vertcat
Also, binary functions that formerly accepted both full N-D inputs along with
sparse 2-D inputs and warned about the reshape, now return an error. For example,
ones(2,2,2).*sparse(3) formerly returned a sparse 2-by-4 matrix along with a
warning about the reshape. This code now returns an error.
Computational Geometry Functions Being Changed
The computational geometry functions delaunay, convhull, griddata, voronoi, delaunay3,
griddata3 no longer use the options arguments.
Compatibility Considerations
Use of the options arguments to delaunay, convhull, griddata, and voronoi now throws
a warning.
Computational Geometry Functions Being Removed
The functions griddata3, delaunay3, dsearch, tsearch will be removed in a future
release. Use of these functions now throws a warning.
Function Name Use This Method Instead
griddata3 TriScatteredInterp