None.
Open in the MATLAB editor: g05ss_example
function g05ss_example fprintf('g05ss 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 = 2; % Generate variates from Weibull distribution [state, x, ifail] = g05ss( ... n, a, b, state); disp('Variates'); disp(x);
g05ss example results Variates 0.9039 4.4796 0.5860 0.4506 4.5154