gusucode.com > elmat工具箱matlab源码程序 > elmat/tril.m
%TRIL Extract lower triangular part. % TRIL(X) is the lower triangular part of X. % TRIL(X,K) is the elements on and below the K-th diagonal % of X . K = 0 is the main diagonal, K > 0 is above the % main diagonal and K < 0 is below the main diagonal. % % See also TRIU, DIAG. % Copyright 1984-2005 The MathWorks, Inc. % Built-in function.