Why matlab has difficulty with the calculation

Assignment Help Algebra
Reference no: EM131024895

Using MatLab, compute H^-1H for various n between 5 and 15. Describe the results and comment on the difference between the MatLab output and what is expected the answer to be (given that H is invertible for all n). At what point does Matlab give a warning indicating that it may not be giving the correct answer?

Try using the rref function to reduce H=hilb(n) for various n. What is expected for an invertible matrix? Describe how results differ from this. Does this shed light on why MatLab has difficulty with the calculation? Please explain.

HINT: The idea behind this problem is that MATLAB is not perfect at performing computations and the solutions it obtains are by no means exact. This problem involves doing computations on a special class of matrices called Hilbert matrices. Each Hilbert matrix is invertible. Thus, if H is a Hilbert matrix, and if inv(H) is the inverse of H, then inv(H) * H = H * inv(H) = I, where I is the identity matrix. As long as H is invertible (which it always will be), this identity will always be true regardless of the size of the matrices. Now do this exact computation in MATLAB with Hilbert matrices of various sizes. What do you notice? Try to explain your results by thinking about how computers deal with / store numbers (hint: think about digits).

The way to do part b is similar. If A is an invertible matrix, what should the result be if you do rref(A) in MATLAB? Do this with Hilbert matrices of various sizes and see what happens. In particular, try this with Hilbert matrices of size 11x11 and then 12x12. Look at the bottom row. What can you say about an inverse in this case?

Reference no: EM131024895

Questions Cloud

Calculate the standard heat of the reaction : Ethylene is first chlorinated to form tetrachloroethane, which is dehydrochlorinated to form trichloroethylene. The standard heat of formation of liquid trichloroethylene is -276.2 kJ/mol. Use the given data and tabulated data for ethylene and HCl..
Determine the progressive tax rate : Determine the progressive tax rate t. Determine the consumption and saving functions with respect to disposable income, and with respect to aggregate income
Find the point of equilibrium of the given demand : Find the point of equilibrium of the given demand and supply equations. (Hint: The point of equilibrium is the price p and the number of units x that satisfy both the demand and the supply equations.)
Question regarding the variance analysis : Variance analysis-The North Point plant of Englehart Electronics Company has the following standards for component C93:
Why matlab has difficulty with the calculation : The way to do part b is similar. If A is an invertible matrix, what should the result be if you do rref(A) in MATLAB? Do this with Hilbert matrices of various sizes and see what happens. In particular, try this with Hilbert matrices of size 11x11 ..
Advocate for and recommend an implementation plan : Your task is to advocate for and recommend an implementation plan to include all 15 CLAS standards over the next 5 years.
Initial valuation present trisstar paid : Please show step by step or working note "Present Value of Total Value" and "Initial Valuation Present Trisstar paid $140,000 (On the September 1st)
Job order cost accounting system : Phillips Corporation's fiscal year ends on November 30. The following accounts are found in its job order cost accounting system for the first month of the new fiscal year.
Find the demand equation for the loanable funds market : Assume a linear relationship, and find the demand equation for the loanable funds market. Assume a linear relationship, and find the supply equation for the loanable funds market. (Note: Check Capital Inflows (KI))

Reviews

Write a Review

Algebra Questions & Answers

  Using these data how many mocha latte coffees would

coffee palace s manager joe felan suspects that demand for mocha latte coffees depends on the price being charged.

  Determine whether the graph has a positive or negative

Use the following equation. Fill in the table and graph the line. Determine whether the graph has a positive or negative. Complete the table, plot the ordered pairs, and graph.

  Finding the pythagorean triplet

Finding the Pythagorean triplet.

  Create a class polynomial and a corresponding test class

Create a class Polynomial and a corresponding test class that is used to evaluate a polynomial function of x: P(x) = a0 + a1 * x + a2 * x ** 2 + ......+an * x ** n; ai is coefficient i, and x ** n means x to the power of n

  Problem on transportation

Problem on transportation

  Find parametric equations for the given curve

Find parametric equations for the curve that consists of all possible positions of the point P in the figure, using the angle θ as the parameter. The line segment AB is tangent to the larger circle.

  Solve the system algebraically to find the bonus

Because the bonus is a deductible expense, the amount of income tax (T) at a 40% rate is 40% of the income after deducting the bonus.

  Briefly explain why function f is not a one-to-one function

Define the function f: R  → R by f(x) = x2 - 6. Briefly explain why f is not a 1-1 (one-to-one) function. Is the function g: Z  →   Z defined by g(n) = [n/2] a one to one function?

  Point out the proportion modeled

Point out the proportion modeled.

  Find unknown variable

Find unknown variable

  Make a description of the graph

Make a description of the graph

  Determining exponential smoothing

The following table represents weekly sales of a product (in $1,000s). Forecast sales for week 5 using exponential smoothing with a smoothing constant of 0.4.

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