Question: Problem 3 (50 points, to be done entirely in Matlab): Write a script, which a) Creates an array x of 1000 random numbers uniformly distributed

Problem 3 (50 points, to be done entirely in Matlab): Write a script, which a) Creates an array x of 1000 random numbers uniformly distributed on the interval from 0 to 5 b) Calculates the sum of all elements, which are smaller than 2.0 c) Sets all elements of the array, which are larger than or equal to 2.0, to zero
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
