the code please for this quastion

조회 수: 1 (최근 30일)
ayham mayyas
ayham mayyas 2021년 12월 27일
답변: Sulaymon Eshkabilov 2021년 12월 27일
  댓글 수: 5
John D'Errico
John D'Errico 2021년 12월 27일
편집: John D'Errico 2021년 12월 27일
You wrote the code. At least for Gauss-Seidel. So submit it. What is the problem? If you are asking us to now write code for a Jacobi method, that is not why we re here, to do your assingment. Of course, we could do that. Would you like that? If so, then please tell us the name and address of your instructor. We will contact them directly, because we need to get credit for work that we do.
It might come up in idle conversation that you just posted your homework assignment online, and asked others to do your work for you, but I'm sure your instructor won't care. Or, would they? I might point out that many students who have done what you did, then asked to have their questions taken down, removed from Answers. One recent student said they might be kicked out of school if their questions were not removed. But your teacher would never do that to you, right?

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

답변 (1개)

Sulaymon Eshkabilov
Sulaymon Eshkabilov 2021년 12월 27일
(1) initialize the given linear system entries: A = [ ]; b = [];
(2) solve it using one of the following MATLAB's fcns: x = linsolve(A, b) or x = A\b or ...
(3) write a code to employ the task iterative methods - see an example https://www.mathworks.com/matlabcentral/fileexchange/73488-gauss-seidel-iterative-method
(4) compare their accuracy using MATLAB's fcn: norm()

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by