On entry, | , or . |
On entry, | or , but , or . |
On entry, | . |
ncols = 80 indent = 0 labrow = 'I' labcol = 'I' form = ' '
Open in the MATLAB editor: x04ea_example
function x04ea_example fprintf('x04ea example results\n\n'); nmax = int64(5); a = zeros(nmax,nmax,'int64'); for i = 1:nmax a(i,:) = [1:nmax] + 10*i; end % First matrix : 3x5 general matrix mtitle = 'Example 1:'; matrix = 'General'; diag = ' '; [ifail] = x04ea( ... matrix, diag, a(1:3,:), mtitle); fprintf('\n'); % Second matrix : 5x5 non-unit lower triangular mtitle = 'Example 2:'; matrix = 'Lower'; diag = 'Non-unit'; [ifail] = x04ea( ... matrix, diag, a, mtitle);
x04ea example results Example 1: 1 2 3 4 5 1 11 12 13 14 15 2 21 22 23 24 25 3 31 32 33 34 35 Example 2: 1 2 3 4 5 1 11 2 21 22 3 31 32 33 4 41 42 43 44 5 51 52 53 54 55