Skip to Main Content Skip to Search
Product Documentation

ScrambleMethod property - Class: qrandset

Settings that control scrambling

Description

The ScrambleMethod property contains a structure that defines which scrambles to apply to the sequence. The structure consists of two fields:

Different point sets support different scramble types as outlined in the help for each point set class. An error occurs if you set an invalid scramble type for a given point set.

The ScrambleMethod property also accepts an empty matrix as a value. This will clear all scrambling and set the property to contain a (0x0) structure.

The scramble method provides an alternative, easier way to set scrambles.

Examples

Apply a random linear scramble combined with a random digital shift to a sobolset point set class:

P = sobolset(5);
P = scramble(P, 'MatousekAffineOwen');
P.ScrambleMethod

See Also

scramble | sobolset

  


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