None.
Open in the MATLAB editor: f01vc_example
function f01vc_example fprintf('f01vc example results\n\n'); uplo = 'u'; n = int64(4); ap = [1.1; 1.2; 2.2; 1.3; 2.3; 3.3; 1.4; 2.4; 3.4; 4.4]; % Print the unpacked matrix fprintf('\n'); [ifail] = x04cb('g', 'x', ap, 'f5.2', 'Packed matrix a:', 'i', ... {''}, 'i', {''}, int64(80), int64(0)); % Convert to unpacked form [a, info] = f01vc(uplo, n, ap); % Print the packed vector fprintf('\n'); [ifail] = x04cb(uplo, 'n', a, 'f5.2', 'Unpacked matrix ap:', 'i', ... {''}, 'n', {''}, int64(80), int64(0));
f01vc example results Packed matrix a: 1 1 1.10 2 1.20 3 2.20 4 1.30 5 2.30 6 3.30 7 1.40 8 2.40 9 3.40 10 4.40 Unpacked matrix ap: 1 1.10 1.20 1.30 1.40 2 2.20 2.30 2.40 3 3.30 3.40 4 4.40