None.
Open in the MATLAB editor: g05sl_example
function g05sl_example fprintf('g05sl 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 a logistic distribution [state, x, ifail] = g05sl( ... n, a, b, state); disp('Variates'); disp(x);
g05sl example results Variates 2.1193 -3.2544 3.1552 3.7510 -3.2944