None.
Open in the MATLAB editor: g05sf_example
function g05sf_example fprintf('g05sf 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; % Generate variates from an exponential distribution [state, x, ifail] = g05sf( ... n, a, state); disp('Variates'); disp(x);
g05sf example results Variates 0.4520 2.2398 0.2930 0.2253 2.2577