Hi,

julia> findin([0 0 1 0 1], 1)
2-element Array{Int64,1}:
 3
 5





On Thursday, June 19, 2014 3:32:22 PM UTC+1, paul analyst wrote:
>
> How to Do a vector indicating the position of a particular value (eg 1) in 
> another 
> vector? 
> by this question: (1)? [0 0 1 01] 
> expected vector [3,5]
> Paul
>

Reply via email to