None.
Open in the MATLAB editor: g05sk_example
function g05sk_example fprintf('g05sk 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 xmu = 1; var = 1.5; % Generate variates from a Normal distribution [state, x, ifail] = g05sk( ... n, xmu, var, state); disp('Variates'); disp(x);
g05sk example results Variates 1.4272 -0.5254 1.8109 2.0232 -0.5380