Home > mpt > extras > auxiliary > mpt_getFullRankSubset.m

mpt_getFullRankSubset

PURPOSE ^

MPT_GETFULLRANKSUBSET Removes rows from matrix Gt until it has full row rank

SYNOPSIS ^

function [Gret, keptrows]=mpt_getFullRankSubset(Gt,AllSubsets)

DESCRIPTION ^

MPT_GETFULLRANKSUBSET Removes rows from matrix Gt until it has full row rank

 [Gt, keptrows]=mpt_getFullRankSubset(Gt)

 ---------------------------------------------------------------------------
 DESCRIPTION
 ---------------------------------------------------------------------------
 It returns all (or just one) full row rank matrices and the rows which were 
 kept from the original matrix.

 ---------------------------------------------------------------------------
 INPUT
 ---------------------------------------------------------------------------
 Gt            - matrix
 AllSubsets    - Return all subsets or just one; set to 1 or 0 respectively;

 ---------------------------------------------------------------------------
 OUTPUT                                                                                                    
 ---------------------------------------------------------------------------
 Gt        - matrix having full row rank (is cell if all subsets are returned)
 keptrows  - indices of the rows that were NOT eliminated

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Thu 30-Mar-2006 10:26:47 by m2html © 2003