Products & Services Industries Academia Support User Community Company

Learn more about MATLAB   

Mathematics, MATLAB Version 7.10 (R2010a)

New features and changes introduced in this version are:

New Multithreading Capability

MATLAB's new multithreading capability now includes:

Performance Improvements

MATLAB features significant performance improvements for:

Changes To qr

The factorization routine in qr produces an upper triangular matrix, R. Now this matrix always contains real and nonnegative diagonal elements. In previous releases, the diagonal of R could contain complex and negative elements.

Compatibility Considerations

R now contains only real, nonnegative diagonal elements. The QR factorization is not unique, so the answer is still correct.

Change in Indexing for Sparse Matrix Input

Now subscripted reference into a sparse matrix always returns a sparse matrix. In previous versions of MATLAB, using a double scalar to index into a sparse matrix resulted in full scalar output.

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:

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 NameUse This Method Instead
griddata3TriScatteredInterp
dsearchDelaunayTri/nearestNeighbor
tsearchDelaunayTri/pointLocation
delaunay3DelaunayTri

Compatibility Considerations

Update your code to use the DelaunayTri and TriScatteredInterp computational geometry classes .

lsqnonneg No Longer Uses Optional Starting Point Input

The lsqnonneg solver no longer uses the optional input x0 as a starting point.

Compatibility Considerations

If you give a starting point x0, MATLAB issues a warning. Also, lsqnonneg ignores x0, and instead uses a starting point of a vector of zeros.

Function erfcore Removed

Support for the erfcore function has been removed. Use of erfcore now results in the following error message:

ERFCORE will be removed in a future release. 
Use ERF, ERFC, ERFCX, ERFINV, or ERFCINV instead.

Compatibility Considerations

Replace erfcore with erf, erfc, erfcx, erfinv, or erfcinv. See the function reference pages for the individual error functions.

Integer Warning Messages Removed

These warning messages for integer math and conversion have been removed:

Compatibility Considerations

The warning messages for integer math and conversion are no longer available. Remove these warning IDs from your code.

Function intwarning Being Removed

The intwarning function will be removed in a future release. Use of intwarning now throws a warning:

Warning: All four integer warnings are removed. 
INTWARNING will be removed in a future release. 

Compatibility Considerations

The warnings previously thrown when you used intwarning on are now removed. Remove all instances of intwarning from your code.

atan Warning Being Removed

The warning thrown when you use atan(i) and atan(-i) will be removed. Currently, the warning message is:

Warning: Singularity in ATAN. This warning will be 
removed in a future release.Consider using DBSTOP 
IF NANINF when debugging.  

Compatibility Considerations

Remove instances of the warning ID MATLAB:atan:singularity from your code.

nextpow2 Returns Output the Same Size As Input

In previous releases, nextpow2 with a vector input v returned nextpow2(length(v)). Now nextpow2(v) returns a vector the same size as the input.

Compatibility Considerations

If you require the old behavior, replace instances of nextpow2 with nextpow2(length(v)).

Math Libraries Not Available to Build MEX-Files with Compaq Visual Fortran

MATLAB no longer provides the libdflapack.dll and libdfblas.dll math libraries for building Fortran MEX-files with a Compaq® Visual Fortran compiler.

Compatibility Considerations

If you distribute MEX-files that call BLAS or LAPACK functions built on a Compaq Visual Fortran compiler, you must also distribute the libdflapack.dll and libdfblas.dll library files.

If MATLAB displays errors when loading a MEX-file and the Dependency Walker indicates missing libdflapack.dll and/or libdfblas.dll libraries, contact the MEX-file vendor for copies of the libraries. The third-party product, Dependency Walker, is available from the Web site http://www.dependencywalker.com/.

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2010- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS