Question: i cant use loops to solve this. Problem Write an m-file that evaluates the function y(x) = 4.22 -8.x +6 for 1000 values of x

 i cant use loops to solve this. Problem Write an m-filei cant use loops to solve this.

Problem Write an m-file that evaluates the function y(x) = 4.22 -8.x +6 for 1000 values of x between 4 and +4, and stores the result in variable y1. Remember to use element by element math if necessary. Create variable y2 by adding random values between 0 and 10 to each element of y1. What is the maximum value of y2? Plot both variables: plotx,y1,x,y2)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!