Matlab code by gauss elimination method

2 件のコメント

Ameer Hamza
Ameer Hamza 2020 年 4 月 17 日
Original title of the question: Matlab code by last square method and polyfit
Ahmet Tasgetiren
Ahmet Tasgetiren 2020 年 4 月 17 日
Find the unknown in the equation by gaussian elimination back substitution

サインインしてコメントする。

回答 (1 件)

Ameer Hamza
Ameer Hamza 2020 年 4 月 17 日
編集済み: Ameer Hamza 2020 年 4 月 17 日

0 投票

Since this is a homework question, so I will not show you how to implement least-square method. The following show how MATLAB allows to least-square methods in one line.
A = [1 0 2;
2 1 0;
3 2 1];
B = [-9;
5;
4];
x = A\B;
For further help. Show us the code you have already tried and ask specific questions related to MATLAB.

カテゴリ

質問済み:

2020 年 4 月 17 日

コメント済み:

2020 年 4 月 17 日

Community Treasure Hunt

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

Start Hunting!

Translated by