Solve a linar system A*x=b with function

조회 수: 1 (최근 30일)
m m
m m 2019년 8월 5일
댓글: the cyclist 2019년 8월 5일
Hi
Can i use function to solve a linear system A*x=b ,knowin g that A has a tridiagonal form with a variables coefficients (not constants)?
i used this function V=Tridiag(p,q,r,s); for a constatant coefficients of A and it works very well. i ask if can i use the same method for a variables coefficients?
  댓글 수: 2
John D'Errico
John D'Errico 2019년 8월 5일
Tridiag
Undefined function or variable 'Tridiag'.
>> help Tridiag
Tridiag not found.
Use the Help browser search field to search the documentation, or
type "help help" for help command options, such as help for methods.
So only you know if Tridiag will work, since it was you who seems to have either written it, or found it someplace online. It is not supplied as part of MATLAB. We have no crystal ball to know what it is or what it does.
the cyclist
the cyclist 2019년 8월 5일
Do you mean tridiag from the File Exchange?
If so, I guess you could try asking the author of that function.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Matrix Indexing에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by