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

  Monthly cost of long-distance phone plan

Suppose that the monthly cost of a long-distance phone plan (in dollars) is a linear function of the total calling time (in minutes). When graphed, the function gives a line with a slope of 0.09

  How many of each type of tickets already sold

The wiz tickets are selling fast! Adult tickets are $15 and student tickets are $10. a total of 285 tickets already sold for #3770. How many of each type of tickets already sold?

  Find the gradient vector of the function

Consider the function f(x, y) = 4√(x2 + y2). Find the gradient vector of the function at the point (1, 1). Find the equation of the tangent plane at the point (1, 1)

  Solve the given equation

Solve the given equation.

  In physics energy is defined as the ability to do work when

in physics energy is defined as the ability to do work. when most people think of energy they think of electricity. the

  Computing the number

Computing the number.

  Solving the equation

solving the equation

  Solve the equation by order of operations

Solve the equation by order of operations.

  Make a graph and find the intervals

Make a graph and find the intervals.

  Simplify the equation

Simplify the equation

  Calculation of apr

Eduardo has a balance of $3,265.96 on his credit card with an APR of 12.6%. His credit card requires a minimum monthly payment of 2% of the balance. If he transfers his balance to a credit card with an APR of 8.5%

  Finding the slope

Finding the slope

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