[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Hi All, I am using python for doing the following: I have a matrix which has dimension of 174*993. Each row of the matrix has some numbers in the range of 30-30.5. I would like to determine the index of the numbers in the range of 30-30.5 in each row. I can determine the index of the numbers in each row by using result1=np.where(np.logical_and(R[i,:]>= 30, R[i,:]<= 30.3)) But I would like to put the indexes in a matrix. That is difficult because the number of indexes in each row will be different. Can anyone help. Regards, Swaroop

- Prev by Date:
**Sphinx plugin to make easier-to-navigate class documentation** - Next by Date:
**why no camelCase in PEP 8?** - Previous by thread:
**Sphinx plugin to make easier-to-navigate class documentation** - Next by thread:
**Determining index of range of values in a matrix** - Index(es):