MATLAB COMPILER RELEASE NOTES User's Guide Page 680

  • Download
  • Add to my manuals
  • Print
  • Page
    / 716
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 679
R14SP3
23-16
Function Modified Behavior
odeset New NonNegative integration property to impose nonnegativity
constraints on an ODE solution
rand Supports the Mersenne Twister algorithm in generating random
numbers
svd Returns economy decomposition
Changes to accumarray
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.
Imposing Nonnegativity Constraints on Computed ODE Solution
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 Calculus in the MATLAB Mathematics documentation
for more information on this feature.
Mersenne Twister Support in rand
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.
Page view 679
1 2 ... 675 676 677 678 679 680 681 682 683 684 685 ... 715 716

Comments to this Manuals

No comments