From: gmres error on
Hi guys,

I keep getting the following error. Any idea how to get around this?

Thanks

The error message:
==================================
The right hand side vector is all zero so gmres
returned an all zero solution without iterating.
??? Error using ==> rdivide
Matrix dimensions must agree.

Error in ==> gmres at 419
stagtest(ind) = additive(ind) ./ x;

Error in ==> PolyWghLsq at 43
poly = gmres(mat,rh);
From: Titus on
Hi,
is the first sentence true? Your right hand side is all zero?
In this case calling gmres will not give a meaningful answer
(it would always "only" find the trivial solution x=0).

Titus

"gmres error" <gmres(a)error.org> schrieb im Newsbeitrag
news:ef4fb86.-1(a)webcrossing.raydaftYaTP...
> Hi guys,
>
> I keep getting the following error. Any idea how to get around this?
>
> Thanks
>
> The error message:
> ==================================
> The right hand side vector is all zero so gmres
> returned an all zero solution without iterating.
> ??? Error using ==> rdivide
> Matrix dimensions must agree.
>
> Error in ==> gmres at 419
> stagtest(ind) = additive(ind) ./ x;
>
> Error in ==> PolyWghLsq at 43
> poly = gmres(mat,rh);