Matlab polyfit and polyval functions

Assignment Help MATLAB Programming
Reference no: EM13189551

The figure below is an example profile of a man. Instead of the profile, you can also use a unique (different to every one else's) profile (e.g. car, boat) of your own from any other source. 

a) Include the original photograph of your selected profile with your assignment. Trace your drawing on a graph paper. For convenience you can rotate the given profile.

b) Locate 20 points on the profile. You should select more points where the profile is more curvy, and few points where the profile is almost linear. Display these points in MATLAB output and on MATLAB chart with color blue but no lines to join them.

c) You will use MATLAB polyfit and polyval functions to find one polynomial with all points. Now plot the profile with your fitted polynomial; you should plot more points on the polynomial in this case. Use a different color.

1876_MATLAB polyfit and polyval functions.png

d) Try different numbers of points from your tracing for polyfit and different numbers of points for polyval to plot them. Show at least five different attempts. You will plot these 5 attempts using 5 different colors. Make these attempts in such as way that the best plot looks as much alike as possible to the original profile given.

Reference no: EM13189551

Questions Cloud

What is the difference between an expression and an equation : What is the difference between an expression and an equation? (minimum 100 words)
Investigate a new type of technology : Discuss how the new technology works, what method or product the new technology is designed to replace, why the new technology is preferable to the old method or product, how this new technology benefits a print media corporation, the public, or both..
A firm issues periodic reports called? : A firm issues periodic reports called? a. financial statements.
How many additional workers are needed : Thirty workers complete a project in 20 days. For the project to be completed in 10 days, how many additional workers are needed if each new worker is only half as productive as the original group?
Matlab polyfit and polyval functions : Include the original photograph of your selected profile with your assignment. Trace your drawing on a graph paper. For convenience you can rotate the given profile.
What is the slope of the line perpendicular : what is the slope of the line perpendicular to 2x=4478
What was the economys gdp in year 1 : Suppose that annual output in year 1 in a 3-good economy is 3 quarts of ice cream, 1 bottle of shampoo, and 3 jars of peanut butter. In year 2, the output mix changes to 5 quarts of ice cream, 2 bottles of shampoo, and 2 jars of peanut butter.
Is it willing to consider alternatives or new ideas : Is your organization willing to push decisions down the chain of command? Is it willing to consider alternatives or new ideas?
Find the values of x and y : BDFH is a rectangle with a width of 5 and a length of 12. One diagonal is 2x + 3y and the other diagonal is x + 8y. Find the values of x and y.

Reviews

Write a Review

MATLAB Programming Questions & Answers

  Finite difference method

Use the finite difference method to calculate the temperature at the point specified since it is easier.

  Determine the necessary shell temperature

In a shell-and-tube heat exchanger, one fluid passes through a central tube while another fluid flows through an outer shell in the opposite direction. The purpose is to heat the fluid passing through the central tube.

  Find the integral of a function at an arbitrary location

Write a Matlab function to perform numerical integration of a set of evenly spaced data points using the trapezoidal rule

  Compute the speed of single-stage planetary gear train

Write a MATLAB function [speed] = planetary (N, emesh, first, last, arm) that computes the speed of a given link in a single-stage planetary gear train.

  Calculate and plot the error in the numerical derivative

Write a program to calculate and plot the error in the numerical estimate of the derivative.

  Create the graph using matlab functions

Create the graph, which contains a piecewise function where a line exists in the first interval, a parabola in the second interval, and the sine function in the third interval.

  Develop a simulation program

Develop a simulation program

  Create a vector in matlab

Create a three dimensional diagram of function.

  Open a named pipe and to read data from the pipe

Open a named pipe and to read data from the pipe in matlab

  Write the commands that will create the matrix

Write the commands that will create the matrix.

  Lagrange interpolating polynomial of degree

Lagrange interpolating polynomial of degree

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd