Question: Create the code in wilk's Matlab 2. Create the code in Matlab of Pie(n, alpha) 3. Create a PDF with the results of parts (c)

Create the code in wilk's Matlab

2. Create the code in Matlab of Pie(n, alpha)

3. Create a PDF with the results of parts (c) and (d)

M4.5 Write MATLAB programs to create the following well-known matrices:

(a) [A] = wilk(n) to create the Wilkinson bidiagonal matrix A (a_ij) of order n: a_ij = ni+1, i = 1, 2,..., 20, ai-i,j= n , i= 2,3,,,,n a_ij =0 otherwise.

(b) [A] = Pei(n,) to create the Pei matrix A = (a_ij) of order n : a_ij= 0 , a_ij= 1 for i j

(c) Print the condition numbers of the Wilkinson matrix with 10, 20, 50, and 100, using the MATLAB function cond.

(d) Fix n = 20, and then perform an experiment to demonstrate the fact that the Pei matrix becomes more ill-conditioned as 1.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!