Mathematics, MATLAB Version 7.4 (R2007a)

New features and changes introduced in this version are:

New Functions

FunctionDescription
bsxfun

Applies an element-by-element binary operation to two full arrays with singleton expansion enabled

ilu

Performs the sparse incomplete LU factorization

More Efficient Matrix Multiplication for Sparse Matrices

Matrix multiplication for A'*b now handles sparse matrices more efficiently.

rand Function Uses the Mersenne Twister Algorithm as Default

The rand function now uses the Mersenne Twister algorithm as default generator algorithm. This method generates double precision values in the closed interval [2^(-53), 1-2^(-53)], with a period of (2^19937-1)/2. Prior to this release, MATLAB used an algorithm known as the Subtract-with-Borrow (SWB) algorithm.

The rand function now produces different results than in previous releases. However, the results returned are still pseudorandom values drawn from a standard uniform distribution. Because the values returned by rand are intended to be random, this change should not affect your code.

Compatibility Considerations

There are several things to keep in mind regarding this change:

Upgrade to BLAS Libraries

MATLAB now uses new versions of the Basic Linear Algebra Subroutine (BLAS) libraries. For Windows, Intel Mac, and Intel processors on Linux platforms, MATLAB supports the Intel Math Kernel Library (MKL) version 9.0. For AMD processors on Linux platforms, MATLAB uses the AMD Core Math Library (ACML) version 3.5. For the Solaris platform, MATLAB uses the Sun Performance Library from Sun Studio 11.

Divide By Zero and Log Of Zero Warnings Off By Default

MATLAB no longer displays Divide by zero and Log of zero warnings unless you explicitly enable them with the following commands:

warning on MATLAB:divideByZero
warning on MATLAB:log:LogOfZero

This only affects the display of the warning message on the screen; the warning status is still updated as usual.

Compatibility Considerations

This change should not cause any incompatibility with your existing code in this release. In future releases, in which internal MATLAB code will not necessarily disable these warning messages, you may see messages displayed that are currently suppressed.

mode of Empty Array Now Returns NaN

The mode function, when operating on an empty array ([]), returns a 1-by-0 array in previous releases, while related functions mean, median, std, and var return NaN when given the same input. In this release, mode returns NaN for an empty array input.

Compatibility Considerations

Existing program code that relies on mode of an empty array to return an empty array should be modified.

Change to Syntax for Setting BLAS Library Version on Linux

If you change the BLAS library used by MATLAB on Linux platforms, MATLAB now loads libraries in the left-to-right order specified in the syntax. For example, to load the Intel MKL BLAS, from a system prompt, run

setenv BLAS_VERSION mkl.so:mklcompat.so

MATLAB loads mkl.so first, and then loads mklcompat.so.

This also applies if you edit bin\$(ARCH)\blas.spec directly.

Compatibility Considerations

This syntax differs from that used for Linux platforms in prior versions.

  


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