[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: Novice Mata question
I wanted to write a function in Mata that deletes rows in a column
vector (or matrix) that contain 0.
The simplest sort of solution ( in English ) would be
matrix temp = matrix temp taking out one row
but this assignment obviously can't be done because of conformability errors.
Do I need to use pointers to do this?
Or alternatively how can I delete a matrix in Mata so that I can
create an intermediate matrix?
cheers
Ade
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/