How do I fill a matrix with values of an one array based on another array?
Hi, I have a 1x5001 array Rr which contains radial distances from a pointsource. I also have an 5001x 1 array Wzr which is the...
fast 2 Jahre ago | 1 answer | 0
How do I replace values in a 400x400 matrix with values of 1x1001 array (r) and then replace all r <= 0.02 with 1 and r>0.02 with 0?
Hi, I need to make a 400 x 400 matrix, with the values of r = [0.0001, 0.0002,......,0.1001] and then replace all r smaller or...
etwa 2 Jahre ago | 1 answer | 0