At Mark 22: | n was made optional |
On entry, | , |
or | , |
or | , |
or | , |
or | . |
On entry, | there are not precisely nvar elements of . |
On entry, | and for some . |
Open in the MATLAB editor: g03za_example
function g03za_example fprintf('g03za example results\n\n'); x = [15, 0, 1500; 12, 1, 1000; 18, 2, 1200; 14, 3, 500]; nvar = int64(2); isx = [int64(1);0;1]; % shift and scaling s = [ 2.50; 0; 420.3]; e = [14.75; 0; 1050.0]; % Standardize [z, ifail] = g03za( ... x, nvar, isx, s, e); mtitle = 'Standardized values'; matrix = 'General'; diag = ' '; [ifail] = x04ca( ... matrix, diag, z, mtitle);
g03za example results Standardized values 1 2 1 0.1000 1.0707 2 -1.1000 -0.1190 3 1.3000 0.3569 4 -0.3000 -1.3086