Matlab code by gauss elimination method

조회 수: 2 (최근 30일)
Ahmet Tasgetiren
Ahmet Tasgetiren 2020년 4월 17일
댓글: Ahmet Tasgetiren 2020년 4월 17일
  댓글 수: 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일
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.

카테고리

Help CenterFile Exchange에서 Linear Algebra에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by