Question: This topic is under programming (science & engineering) by using MATLAB. Please answer the following question by using MATLAB software. Thank you. 10. For the
This topic is under programming (science & engineering) by using MATLAB. Please answer the following question by using MATLAB software. Thank you.

10. For the vector x = [3, 15, 9, 12, -1, 0, -12, 9, 6, 1] (a) Set to o the positive elements of x. (b) Set to 3 the multiples of 3. (c) Multiply by 5 the even elements of x. (d) Create y from the elements of x that are > 10 (e) Set to o the elements less than the average. (Use the built-in function mean(x) to calculate the average.)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
