Report bug on document of gmres

1 view (last 30 days)
The example code for gmres with preconditioner has bug: the relative residual to plot from resvec should be resvec/norm(preconditioner\b), not resvec/norm(b).
A simple check is the relative residual should be 1 when interation = 0, since norm(Ax-b)/norm(b) = norm(b)/norm(b) = 1.

Accepted Answer

Image Analyst
Image Analyst on 17 Jan 2020
Edited: Image Analyst on 17 Jan 2020
On the bottom of the documentation for any function, click on one of the 5 stars. It will bring up a box that asks you why you gave that star rating and you can tell your story. It will go right to the documentation people at the Mathworks, who would contact the developer for that function if necessary.
Or you can click this link: Bug Reports
Or simply call them on the phone, or email them at support @ mathworks . com
bugs.gif

More Answers (0)

Categories

Find more on Downloads in Help Center and File Exchange

Tags

Products


Release

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!