Matlab code by gauss elimination method
조회 수: 2 (최근 30일)
이전 댓글 표시

댓글 수: 2
Ameer Hamza
2020년 4월 17일
Original title of the question: Matlab code by last square method and polyfit
답변 (1개)
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.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Linear Algebra에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!