I have a matrix that looks like this:
[0 x x x 0 x x x x]
where the x's are nonzero elements. I'd like to retain those nonzero elements in another matrix. I looked at a couple of things that were either close http://www.statalist.org/forums/foru...-of-the-matrix or dated http://www.stata.com/statalist/archi.../msg00136.html. Can anyone provide me guidance on the best way to accomplish this task?
[0 x x x 0 x x x x]
where the x's are nonzero elements. I'd like to retain those nonzero elements in another matrix. I looked at a couple of things that were either close http://www.statalist.org/forums/foru...-of-the-matrix or dated http://www.stata.com/statalist/archi.../msg00136.html. Can anyone provide me guidance on the best way to accomplish this task?
Comment