Fixing code logic bug (Linear Algebra + MATLAB)
Mostrar comentarios más antiguos
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 comentarios
Michael Haderlein
el 11 de Ag. de 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
el 11 de Ag. de 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
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Matrix Indexing en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!