Hi, I have an array, for instance x = linspace(0, 10, 20);, and I want to find the index for which x==1 and then change the value of x at that index.
In Matlab this is easy: x(x==0) = 100; What is the best way to do this in julia! Grunde
Hi, I have an array, for instance x = linspace(0, 10, 20);, and I want to find the index for which x==1 and then change the value of x at that index.
In Matlab this is easy: x(x==0) = 100; What is the best way to do this in julia! Grunde