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!