Skip to content

echelon.m

Basic Information

  SYNTAX: [Amod,nodelist,branchlist] = echelon(A,nodelist,branchlist)

  PURPOSE:  Echelon algorithm.  Calculation to define branches in tree and
    co-tree and the matrix mapping currents in co-tree branches to currents
    in branches of tree.

  INPUT:
   A          = node incidence matrix
   nodelist   = node numbers corresponding to each row of A
   branchlist = branch indices into the netlist corresponding to columns of A

  OUTPUT:
   Amod       = modified incidence matrix, of the form [I Dc]
   nodelist   = node numbers corresponding to each row of Amod
   branchlist = netlist branch indices corresponding to columns of Amod

  RESTRICTIONS:

  METHOD:  Reduction to row-echelong form based on Gaussian elimination.

Dependencies