None.
Open in the MATLAB editor: g05sc_example
function g05sc_example fprintf('g05sc 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 xmed = 1; semiqr = 2; % Generate variates from Cauchy distribution [state, x, ifail] = g05sc( ... n, xmed, semiqr, state); disp('Variates'); disp(x);
g05sc example results Variates 6.1229 2.2328 -2.2118 0.4118 0.9892