Question: Write a function with the header [y] = myForwardSub(L, b) which solves Ly=b for y given an nxn lower triangular matrix L and an nx1
Write a function with the header [y] = myForwardSub(L, b) which solves Ly=b for y given an nxn lower triangular matrix L and an nx1 vector b. Use nested for loops, do not use built in Matlab functions, inv, pinv, \.
![Write a function with the header [y] = myForwardSub(L, b) which solves](https://s3.amazonaws.com/si.experts.images/answers/2024/09/66e17ca861e2d_54366e17ca7eb272.jpg)

3. 5 Points Write a function with the header [y]- myForwardSub (L, b) which solves Ly-b for y given an nxn lower triangular matrix L and an nx1 vector b. Use nested for loops, do not use built in Matlab functions, inv, pinv, 1.0000 0.1558 1.1215 0.7767 1.0000 3.1268 4.9871 5.2270 1.0000 2.3545 2.2395 1.0000 0.8098 1.0000 >bNew[10666; 12490; 24018; 24260: 24402] ymySub (L, bNew) 1.0e+04* 1.0666 0.0633 2.0376
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
