julia> find([0,1,0,2,2,0,1] .> 1)
2-element Array{Int64,1}:
 4
 5

On Wed, Mar 02 2016, paul analyst wrote:

> I heve vecotr a
> julia> a
> 10-element Array{Int64,1}:
>  0
>  1
>  0
>  0
>  1
>  0
>  2
>  0
>  0
>  0
>
> How to find indexes for a .>1
>
> findin(a,[.>1])
> 2-element Array{Int64,1}:
>  2
>  5
> is not true, i need ansewr 7 
> Paul

Reply via email to