Hi All,
I have what I think is a very simple question. I would like to replace all the negative values of a matrix with zero. In Matlab this would be straightforward but I cannot figure out how to do it in Mata. Can anyone help?
Thanks!
I have what I think is a very simple question. I would like to replace all the negative values of a matrix with zero. In Matlab this would be straightforward but I cannot figure out how to do it in Mata. Can anyone help?
Thanks!
Comment