Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. (Improved triangular substitutions; adapted from FNC 2.3.5) If B e RnXP has columns b, ..., bp, then we can pose p linear systems at

image text in transcribed

1. (Improved triangular substitutions; adapted from FNC 2.3.5) If B e RnXP has columns b, ..., bp, then we can pose p linear systems at once by writing AX = B, where X e RrXp whose jth column X; solves Ax; = b; for j = 1, ..., p. (a) Modify backsub.m and forelim.m from Lecture 13 so that they solve the case where the second input is an n x p matrix, for p > 1. (b) If AX I, then X = A-1. Use this fact to write a MATLAB function Itinverse that uses your modified forelim to compute the inverse of a lower triangular matrix. Test your function on at least two nontrivial matrices, that is, compare the numerical solutions against the exact solutions. 1. (Improved triangular substitutions; adapted from FNC 2.3.5) If B e RnXP has columns b, ..., bp, then we can pose p linear systems at once by writing AX = B, where X e RrXp whose jth column X; solves Ax; = b; for j = 1, ..., p. (a) Modify backsub.m and forelim.m from Lecture 13 so that they solve the case where the second input is an n x p matrix, for p > 1. (b) If AX I, then X = A-1. Use this fact to write a MATLAB function Itinverse that uses your modified forelim to compute the inverse of a lower triangular matrix. Test your function on at least two nontrivial matrices, that is, compare the numerical solutions against the exact solutions

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Secrets Of Analytical Leaders Insights From Information Insiders

Authors: Wayne Eckerson

1st Edition

1935504347, 9781935504344

More Books

Students also viewed these Databases questions