How can i type code for solving linear system equation with iterative method. First i checked if my matrix is diagonal dominant. But i dont know how to do further.I have mathematica code which is attached in this message.

回答 (2 件)

Nermin Hasanbasic
Nermin Hasanbasic 2018 年 12 月 20 日
In those files i have all except iterative method. The equation Ax=B needs to be transformed to x=beta + alpha*x, then the start aproximation needs to be x0=beta. To transform in that equation i need to solve equation by equation by x1,x2,...,xn, this form x1=beta1 + alpha12*x2 + alpha13x3 etc.
That step is missing because i dont know how to program that in matlab. :(

カテゴリ

ヘルプ センター および File ExchangeProgramming についてさらに検索

質問済み:

2018 年 12 月 20 日

コメント済み:

2018 年 12 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by