Explore BrainMass

Explore BrainMass

    Hubert Matrices

    Not what you're looking for? Search our solutions OR ask your own Custom question.

    This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

    C) The famous Hubert matrices are given by Hij= 1/(i +j - 1). The n x n Hilbert matrix Hn is easily produced in MATLAB using hilb(n). Assume the true solution of H,x = b for a given n is x = [1.. .. , 1]^T. Hence the righthand side b is simply the row sums of H, and b is easily computed in MATLAB using b=sum(hilb(n) 9'. Use your codes mylu.m and lusolve.m to solve the system Hnx = b for i. = 5, 10, 15, 20. For each n, using the oo ? norm, compute the relative error and the relative residual. Discuss what is happening here. You may find it useful to look at the cond command in MATLAB.

    (You do not have to use MATLAB to deal with this problem.)

    © BrainMass Inc. brainmass.com March 4, 2021, 6:27 pm ad1c9bdddf
    https://brainmass.com/math/matrices/hubert-matrices-matlab-45224

    Attachments

    Solution Summary

    Hubert Matrices are investigated.

    $2.49

    ADVERTISEMENT