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 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
Get step-by-step solutions from verified subject matter experts
