Community Profile

photo

Maraya Biervliet


Last seen: 9 månader ago Active since 2020

Statistics

  • Thankful Level 1

View badges

Content Feed

View by

Question


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

mer än 3 år ago | 1 answer | 0

1

answer

Question


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

nästan 4 år ago | 1 answer | 0

1

answer