None.
Open in the MATLAB editor: g02zl_example
function g02zl_example fprintf('g02zl example results\n\n'); iopts = zeros(100, 1, 'int64'); opts = zeros(100, 1); % Initialize the optional argument array [iopts, opts, ifail] = g02zk( ... 'Initialize = g02qg', iopts, opts); % Retrieve default values of some optional arguments disp('Default optional values for selected options are:'); stropts = {'Iteration Limit', 'Epsilon', 'Return Residuals'}; formd = '%-30s : %8d\n'; formr = '%-30s : %8.2e\n'; forms = '%-30s : %8s\n'; for j = 1:3 [ivalue, rvalue, cvalue, optype, ifail] = ... g02zl( ... stropts{j}, iopts, opts); if optype==1 fprintf(formd,stropts{j},ivalue); elseif optype==2 fprintf(formr,stropts{j},rvalue); else fprintf(forms,stropts{j},cvalue); end end
g02zl example results Default optional values for selected options are: Iteration Limit : 100 Epsilon : 1.05e-08 Return Residuals : NO