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

  Solve the linear model

Select five values for x to plug into the linear function, P(x)=10x-7 and prepare a table of values

  Identify the sample and suggest a population

Identify the sample and suggest a population

  Evaluate the ratios

Evaluate the ratios and check are the ratios equivalent.

  Define variables and profit function

Define variables and profit function

  Make a linear equation

Assume you have a lemonade stand, & when you charge $1 per cup of lemonade you sell 50 cups. But when you raise your price to $2 you only sell 25 cups. Make an equation for the number of cups you sell as a function of the price you charge. Denote "C"..

  Classify linear and non linear functions

For each of the relationships given below, describe whether you think it is best explained by a linear function or a non-linear function.

  Which of the following are functions

Which of the following are functions?  The two problems, i.e., 1 & 3, are multi part relations consider all parts when determining whether or not these relations are functions. Explain your reason for 1, 2, & 3.

  Using venn diagram for solving word problems

Using venn diagram for solving word problems.

  Joint probability density function

The joint probability density function.

  Applications of combination

Applications of combination

  Solving problems using venn diagram

Solving problems using venn diagram.

  Solving problems into equation

Solving problems into equation.

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