Question
i have solved the following by hand but I do not know how the code is supposed to look like in matlab.
Use a MATLAB version of conjugate gradient to solve the following problems: 1-1 0111 ] [0] (a)| -1 2 1 11 u | =| 2 |(b)1-1 1
0 0
Add a comment Improve this question Transcribed image text
Answer #1

normf- norm(f) if normf < eps % if the norm is very close to zero, take the % absolute residuum instead as break condition %hope you understand

Add a comment
Know the answer?
Add Answer to:
i have solved the following by hand but I do not know how the code is...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT