User`s guide

R2008b
17-22
Mathematics
Upgrade to Random Number Generator
The randn function uses a new longer period random number algorithm as its default.
The new function randi returns random integers from a uniform discrete distribution.
The @RandStream class allows you to construct a random number stream object
and set its properties. For more information, see Random Numbers in the MATLAB
Mathematics documentation.
Compatibility Considerations
The randn function now produces different results than in previous releases. Because the
values returned by randn are intended to be random, this change should not affect most
code.
rand and randn now draw from the same random number stream. In prior releases,
rand and randn had separate independent underlying random number streams. Since
rand and randn now access the same stream, using randn will affect subsequent values
produced by rand and vice-versa. See Creating and Controlling a Random Number
Stream in the MATLAB Mathematics documentation for more information.
Multipoint Boundary-Value Problems with bvp5c
The solver bvp5c will take multipoint boundary-value problems.
Upgrades to lsqnonneg
lsqnonneg now runs more efficiently. It accepts sparse matrices as inputs and maintains
sparsity throughout its internal iterations.