Question: Problem 1 / MatlabGrader Develop a Matlab function mySquares that calculates the first N squares. As input, the function shall take the positive integer number
Problem MatlabGrader
Develop a Matlab function mySquares that calculates the first squares. As input, the function shall take the positive integer number and as output the function shall give a column vector vec of length containing for dotsN.
Problem required submission:
Well commented function source code submitted to Matlab Grader;
Problem MatlabGrader & Gradescope
Write a script that generates a plot of the first squares vs Use your function from problem to generate the data to 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 examFig for the graph before doing any plotting commands, using examFig figure ;
Properly label both axis using the appropriate variable names, ie
Do not include the source code for mySquares in your submission. A correct version is used automatically on Matlab Grader.
Problem required submission:
Well commented script source code submitted to Matlab Grader;
Printout of well commented script you coded included in your Gradescope submission;
Printout of well annotated graph in your Gradescope submission;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
