<< sci_unzip Basic functions seqa >>

Grocer >> Basic functions > search_cte

search_cte

find the indexes of constant colums

CALLING SEQUENCE

[xlag]=search_cte(x,n,init)

PARAMETERS

Input

* x = a (n x k) real matrix

 

Output

* indcte = a (p x 1) vector of integers

DESCRIPTION

Finds the indexes of the constant colums in a matrix.

EXAMPLE

search_cte([grand(15,2,'nor',0,1) ones(15,1)])
// Returns 3.

AUTHOR

Eric Dubois 2005

Report an issue
<< sci_unzip Basic functions seqa >>