photo

Maraya Biervliet


Last seen: mer än ett år ago Active since 2020

Followers: 0   Following: 0

Statistics

  • Thankful Level 1

View badges

Feeds

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

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

1

answer