Hi, I 've a matrix n*1 (thus a column) and I would like to count the number of negative element inside. Can you help me? Thanks! eg: res[,1]= 1 -3 -1 How obtain the number 2 (number of negative-element)?