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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started