Reference no: EM133962212
Question: Write a script to graph the result of Matlab's atan(x) for 1.00001 ≤ x ≤ 1.5 together with the results from myAtan for N = 5, 10, and 15 in a single figure. Use the transpose of Matlab's linspace command to generate a column vector x with 1001 equally spaced points covering the entire requested range of x values to generate the data for the plot. Get reliable and affordable assignment help today!
Notes for the MatlabGrader script submission:
• Comment out clear or clear all in your script when submitting to MatlabGrader.
• Generate and store the figure handle examFig1 for the graph before doing any plotting commands, using examFig1 = figure(1);
• Properly label both axis using the appropriate variable names (x, atan(x)).
• Include a legend for each line, starting with atan(x) followed by N = 5, N = 10, and N = 15.
• Ensure that your legend does not obstruct any part of your plot.
• Do not include the source code for myAtan in your submission. A correct version is available to be called on Matlab Grader