If i have to find minimum other that 0 and 1 in an array like A=[ 0 0 0 1 0 0 10 0 30]; I want to find min(A(A>0 && A>1)) but it is showing error : Operands to the and && operators must be convertible to logical scalar values.
MATLAB: How to find minimum number in array other than 0 and 1
minimum in array other than 0 and 1
Related Question
- Find the column with the least number of 1s (ones) in it | Find column with at least one non zero element
- Is there any instruction can ignore the “0” value and find the minimum value of a matrix
- Array that decreases from the center.
- Finding the indices of duplicate maximum number of non zero element in matrix
- Minimum value of a matrix with the main diagonal elements equals to zero
Best Answer