None.
Open in the MATLAB editor: g05sa_example
function g05sa_example fprintf('g05sa example results\n\n'); % Initialize the base generator to a repeatable sequence seed = [int64(1762543)]; genid = int64(1); subid = int64(1); [state, ifail] = g05kf( ... genid, subid, seed); % The number of pseudorandom numbers to be generated n = int64(5); % Generate variates from a Uniform (0,1) distribution [state, x, ifail] = g05sa( ... n, state); disp('Variates'); disp(x);
g05sa example results Variates 0.6364 0.1065 0.7460 0.7983 0.1046