Question: need code for matlab Submit this assignment as a PDF through the Homework 8 link on Blackboard. Copy and paste your MATLAB commands and final


need code for matlab
Submit this assignment as a PDF through the Homework 8 link on Blackboard. Copy and paste your MATLAB commands and final answers into a Word document for each problem. Once completed, Save As through the File menu to save the document file type as a PDF. Submit the PDF and a zip of your Matlab Subjects Covered: Curve Fitting Toolbox, Anonymous Functions, Solving Systems of Equations 1. Create anonymous functions for the following equations and test them for x-2 & y 2: 2. Create an anonymous function based on this mathematical function: a. Find and display one of its roots using 'fzero' b. Find and display both roots of this function using the 'roots' command c. Plot the graph of this function from -10 to 10 using 'fplot' 3. Solve the following system of linear equations using matlab: 2a2 T3 4T1 5T2 4. X [1 2 3 4 56789 10 11 12 13 14 15 16 17 18 19 20] Y a [1145 678 899 1211 1213 14 17 18 17 20 19] a. Using the least squared regression formula find the equation of the regression line b. Find the regression line using 'polyfit and "polyval Make sure to plot the regression line and the plot containing the original X and Y in the same graph
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
