None.
Open in the MATLAB editor: g05sd_example
function g05sd_example fprintf('g05sd 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 df = int64(5); % Generate variates from Chi^2 distribution [state, x, ifail] = g05sd( ... n, df, state); disp('Variates'); disp(x);
g05sd example results Variates 4.4731 5.9371 1.7636 2.9812 4.3280