Fixing code logic bug (Linear Algebra + MATLAB)
Ältere Kommentare anzeigen
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 Kommentare
Michael Haderlein
am 11 Aug. 2014
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
am 11 Aug. 2014
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
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Matrix Indexing finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!