None.
Open in the MATLAB editor: g05sq_example
function g05sq_example fprintf('g05sq 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); % Number of variates n = int64(5); % Parameters a = -1; b = 1; % Generate variates from a Uniform (a,b) distribution [state, x, ifail] = g05sq( ... n, a, b, state); disp('Variates'); disp(x);
g05sq example results Variates 0.2727 -0.7870 0.4921 0.5965 -0.7908