| Mathematics, MATLAB Version 7.1 (R14SP3) Release Notes | ![]() |
New features and changes introduced in this version are organized by these topics:
The following functions are new in R14SP3:
Function | Description |
|---|---|
Square root of sum of squares | |
Finds most frequent values in sample |
A new function name can potentially introduce a backward incompatibility since it can, under certain circumstances, override a variable with the same name as the new function. This is especially true for names that are commonly used as variable names in program code.
An example of such a function name is the mode function, introduced in this release. If you have M-file programs that use mode as a variable name, it is possible under certain conditions for MATLAB to interpret these variable names as function names by mistake. Read the section Potential Conflict with Function Names in the MATLAB Programming documentation to find out how to avoid having these variables misinterpreted.
If your program code uses a user-written function named mode, you may find that MATLAB calls the new MATLAB mode function instead of your own mode function. To correct this, modify your MATLAB path by placing the location of your own mode function closer to the beginning of the path string than the location of the MATLAB mode.m file. The help for the addpath and rmpath functions explains how to modify your MATLAB path.
The following functions have been modified in MATLAB 7.1:
Function | Modified Behavior |
|---|---|
Allows more flexibility for input/output classes and functions to be called | |
New NonNegative integration property to impose nonnegativity constraints on an ODE solution | |
Supports the Mersenne Twister algorithm in generating random numbers | |
Returns economy decomposition |
MATLAB Version 7.1 adds the following new features to the accumarray function:
The data type for the val input can be any numeric type, or logical, or character.
The data type for the subs input can be any numeric type.
You can use a cell array of separate index vectors for the subs input.
When you specify a function input argument, the value returned by accumarray is given the same class as the values returned by that function.
You can control the sparsity of the value returned by accumarray by specifying the new input argument issparse.
There is a new integration property called NonNegative that you can use when applying ODE initial value problem solvers. If you need to solve a problem in which certain components of the solution must be nonnegative, use the NonNegative property to impose nonnegativity constraints on the computed solutions.
See Nonnegative Solutions under Differential Equations in the MATLAB Mathematics documentation for more information on this feature.
The rand function now supports a method of random number generation called the Mersenne Twister. The algorithm used by this method, developed by Nishimura and Matsumoto, generates double precision values in the closed interval [2^(-53), 1-2^(-53)], with a period of (2^19937-1)/2.
For a full description of the Mersenne twister algorithm, see http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/emt.html.
The following feature was released in MATLAB 7.0, but was undocumented until this release.
The command svd(A,'econ') returns economy decomposition on matrices having few rows and many columns as well as those with many rows and few columns. svd(A,0) continues to behave as it always has, namely to only return economy-sized decomposition on matrices having many rows and few columns.
Note that this does not carry over to the qr function as there is no valid way of cutting out any of the information returned by qr to make an economy-sized decomposition of matrices having few rows and many columns.
The location of the LAPACK libraries has been changed. These libraries are now located in
extern/lib/win32/microsoft/libdflapack.lib extern/lib/win32/microsoft/libmwlapack.lib
This change impacts you only if you build MEX-files that call LAPACK and BLAS functions.
The section of the MATLAB Mathematics documentation on "Data Analysis and Statistics" has been moved to a new MATLAB® Data Analysis book. This book documents MATLAB functions and tools that support basic data analysis, including plotting, descriptive statistics, correlation, interpolation, filtering, and Fourier analysis. It also documents the new object-oriented command-line API for analyzing time-series data.
![]() | Desktop Tools and Development Environment, MATLAB® Version 7.1 (R14SP3) | Data Analysis, MATLAB® Version 7.1 (R14SP3) | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |