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
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