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

  Value for the side of the octagonal prism

Value for the side of the octagonal prism, and a scalar value for the height of the octagonal prism. Generate the x,y,z arrays that define the 9 faces of the pyramid (octagonal base and 8 triangles. Use fill3 command to create the faces (faces wit..

  write a function under the name "write2"

a)Write a function under the name "write2" so that it will save the diagonal component of the given matrix...

  Time domain design and analysis

To design a "custom" controller to reduce the vibrations of the seat and a PID controller to reduce the vibration of the seat

  Filtering – biomedical application

Prepare a filter that removes noise produced by electronic medical equipment.

  Computes the stiffness matrix for one bilinear element with

write Matlab code that computes the stiffness matrix for one bilinear element with 4 nodes

  Create a matrix of 5x6

Prepare a matrix of 5x6. with identical columns and rows ranging from 200 to 1000 in equal increments

  Write a function that takes a list of integers

Using ML write a function that takes a list of integers as argument and returns a pair consisting of the sum of the even position and the sum of the odd positions of the list.

  Deterministic dimensions and rebar area

Performance function for bending of a rectangular reinforced concrete beam under moments due to dead and live loads

  Matlab program to compute how much money will accumulate

Write a MATLAB program to compute how much money will accumulate in 5 years in the account and in any CDs you buy. Run the program for two different savings interest rates: 4 percent and 5 percent.

  Least squares

For homework consider the points (0,0), (1,2), (2,3), (3,9), ( 4,17), (5,24), (6,37). (1) Use Matlab to find the least squares best fit with a line.  Turn in A, y and c and a plot like the one above.  Also (2) use Matlab to find the least square best..

  Lagrange interpolating polynomial of degree

Lagrange interpolating polynomial of degree

  Develop a simulation program

Develop a simulation program

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