Oh you are right. ".==" works very well. I don't know this before. I am 
still a newcomer here. Thank you very much.

在 2016年7月4日星期一 UTC+9上午11:35:10,Cedric St-Jean写道:
>
> Maybe I'm missing something, but doesn't find(Mat_a .== Mat_b) work as in 
> Matlab? (Julia needs the dot before the ==)
>
> On Sunday, July 3, 2016 at 10:18:10 PM UTC-4, siyu song wrote:
>>
>> But intersect doesn't tell us the index of the elements in the 
>> matrix(array), I think. 
>> 在 2016年7月4日星期一 UTC+9上午3:14:54,Fred写道:
>>>
>>> intersect(a,b)
>>> union(a,b)
>>>
>>> Le dimanche 3 juillet 2016 19:54:02 UTC+2, siyu song a écrit :
>>>>
>>>> In MATLAB, it's easy to do this by using : find(Mat_a == Mat_b). Is 
>>>> there an easy similar way to do this? 
>>>>
>>>

Reply via email to