Compare the interpolated values

Assignment Help MATLAB Programming
Reference no: EM133146269

Question 1. Bilinear interpolation

Task 1.1 Write a Matlab script using the 'bilinear interpolation method' to interpolate points in the domain [-5, 5] x [-5, 5]. The function values of the four corner points are evaluated with f(x, y) = exp(x)/10 - sin(y), respectively: f (-5, -5), f(5, -5), f(5,5) and f(-5, 5).

Task 1.2 Interpolate at least 9 points in between the corner points.
These 9 points shall be chosen arbitrarily. Visualize the corner points and the interpolation points with a grid plot.

Task 1.3 Compare the interpolated values with the exact values given by f(x, y) = exp(x)/10 - sin(y) and summarize the results.

Task 1.4 Visualize the function and the interpolated values with e.g. Matlab function 'surf'.

Question 2. QR decomposition

Task 2.1 Write a Matlab code to calculate the QR decomposition of a real 5 x 5 matrix using the Gram-Schmidt process.

Task 2.2 Define an orthogonal matrix Q and an upper triangular matrix R with A = Q.R to test your program.

Task 2.3 Extend the code to solve the system A.x = b, where b needs to be set accordingly, and compare the result with the built in Matlab function A \ b.

Reference no: EM133146269

Questions Cloud

Prepare all journal entries related to the transaction : On January 1, 2019, Aitocs Inc. sold used equipment with a cost of $15,000. Prepare all journal entries related to the transaction
Effective example of influencer marketing : Identify what you believe to be an effective example of influencer marketing and how observational learning is used in that example.
Get a support for initiatives in situations : How you would consider improving your approach to get a support for initiatives in situations where you don't have management authority?
Journalize the treasury stock transactions : Flounder Corporation uses the cost method of accounting for treasury stock. Journalize the treasury stock transactions, and prepare closing entry at December
Compare the interpolated values : Write a Matlab script using the bilinear interpolation method to interpolate points in the domain - Visualize the function and the interpolated values
Assignment on conformity bias : 1. Loyalty is generally considered a good quality. When a group to which you owe loyalty seems to be making a decision that seems unethical to you, how should y
Software development life cycle methodologies : Which of the three software development life cycle methodologies discussed would you use and why?
What is the gross profit and gross profit margin percentage : If net sales is $513,000 and cost of goods sold is $179,550, what is the gross profit and gross profit margin percentage
By how much will the production cost increase : Assume that production will increase to 32,000 jars of salsa during June. By how much will the production cost increase compared to the May budget

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