Question: Write a script to graph the result of Matlab's l o g ( x ) for 0 . 5 0 0 0 0 1 x

Write a script to graph the result of Matlab's log(x) for 0.500001x10 together with the results from myLog for N=2,8, and 16 in a single figure. Use the transpose of Matlab's 1 inspace 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.
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 examFigl for the graph before doing any plotting commands, using examFigl = figure (1);
Properly label both axis using the appropriate variable names (x,ln(x)).
Include a legend for each line, starting with log(x) followed by N=2,N=8, and N=16.
Ensure that your legend does not obstruct any part of your plot.
Do not include the source code for myLog in your script. A correct version is used automatically on Matlab Grader.
 Write a script to graph the result of Matlab's log(x) for

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!