home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 10 / 10.iso / l / l460 / 2.ddi / SPARFUN.DI$ / ETREEPLO.M < prev    next >
Encoding:
Text File  |  1993-03-07  |  460 b   |  18 lines

  1. function etreeplot(A,c,d)
  2. %ETREEPLOT Plot the elimination tree.
  3. %    etreeplot(A):  Plot the elimination tree of A (or A+A', if asymmetric).
  4. %    etreeplot(A,c,d):  See treeplot for optional parameters c and d.
  5. %
  6. %    See also TREEPLOT, ETREE, TREELAYOUT.
  7.  
  8. %    Copyright (c) 1984-93 by The MathWorks, Inc.
  9.  
  10. B = spones(A);
  11. if nargin == 1,
  12.     treeplot(etree(B+B'));
  13. elseif nargin == 2,
  14.     treeplot(etree(B+B'),c);
  15. else
  16.     treeplot(etree(B+B'),c,d);
  17. end
  18.