Question: Write a matlab function TDMA.m to solve AX=Y Write a Matlab function TDMA m allowing to solve a tridiagonal system AX = Y using the

Write a matlab function TDMA.m to solve AX=Y

Write a matlab function TDMA.m to solve AX=Y Write a Matlab function

Write a Matlab function TDMA m allowing to solve a tridiagonal system AX = Y using the method of Thomas, with: The input of the function: the vectors a, b and c of matrix A (only the non-zero elements are given as arguments and the vector Y. The output of the function: the X vector (the solution). The function should generate an error message in case of division by 0. Write a Matlab function TDMA m allowing to solve a tridiagonal system AX = Y using the method of Thomas, with: The input of the function: the vectors a, b and c of matrix A (only the non-zero elements are given as arguments and the vector Y. The output of the function: the X vector (the solution). The function should generate an error message in case of division by 0

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!