Fixing code logic bug (Linear Algebra + MATLAB)
이전 댓글 표시
The problem suggests comparing a2 and a3 output results. I believe the results (a2 and a3) are supposed to be the same, just through different methods (Jacobi vs. G-S). I tried deleting the first 'for-loop' and when outputting a2 and a3 I obtained the same result, but while they are the same, I am not sure they are correct. Thanks!
댓글 수: 2
Michael Haderlein
2014년 8월 11일
I don't think that this forum is meant to solve your homework. Exercises are should be a training for you. You're not gonna learn a lot from copying the exercise to the forum and show the answer to your teacher. If you have a specific question, you're welcome to ask it.
Best regards,
Michael
Yu Jiang
2014년 8월 11일
Hi Nicolas
It would be more helpful if you could explain what the expect results are. Also, what output variable should we look at?
-Yu
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Matrix Indexing에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!