function A = geppUnstableExample(n)
% Very rare example of a matrix on which GEPP (LU with partial pivoting)
% is unstable. When GEPP is applied, no pivoting occurs on this example,
% and the last column is filled with increasing powers of 2.
Copyright By PowCoder代写 加微信 powcoder
A = -tril(ones(n,n),-1) + eye(n);
A(:,n) = ones(n,1);
程序代写 CS代考 加微信: powcoder QQ: 1823890830 Email: powcoder@163.com