Question: Pleas show the output And the solution In mat lab 6. Using the form ax +by c, write a script file that asks the user
Pleas show the output 6. Using the form ax +by c, write a script file that asks the user to input the vector coefficients of the first equation [al b1 c1l, the vector coefficients of the second equation [a2 b2 c2] and the vector of the x values to evaluate (e.g. x 1:5). The script should output avector giving thexand y values of the point of intersection between the two lines. If the lines are parallel, return an empty vector. Your script should also plot the two lines using the inputted vector of x values as x. Make the first line blue, the second line red. Make sure that you label your plot appropriately. Slso plot the intercept point. M. Gerschutz Page 2 of 3 BME 2013 Spring 2017 Test the script using the flowing the system of equations (report intersection value) 5x 2y 11 4x 3y 18 plot equations using an x range from 1 to 5 (Don't forget to turn in plot!)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
