Products & Services Solutions Academia Support User Community Company

Learn more about MATLAB   

set (RandStream) - Set random stream property

Class

@RandStream

Syntax

set(S,'PropertyName',Value)
set(S,'Property1',Value1,'Property2',Value2,...)
set(S,A)
A=set(S,'Property')
set(S,'Property')
A=set(S)
set(S)

Description

set(S,'PropertyName',Value) sets the property 'PropertyName' of the random stream S to the value Value.

set(S,'Property1',Value1,'Property2',Value2,...) sets multiple random stream property values with a single statement.

set(S,A) where A is a structure whose field names are property names of the random stream S sets the properties of S named by each field with the values contained in those fields.

A=set(S,'Property') or set(S,'Property') displays possible values for the specified property of S.

A=set(S) or set(S) displays or returns all properties of S and their possible values.

See Also

@RandStream, get (RandStream), rand, randn, randi

  


Recommended Products

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

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