|
"John D'Errico" <woodchips@rochester.rr.com> wrote in message <j7v1od$jvj$1@newscl01ah.mathworks.com>...
> This is not even REMOTELY large. Not even close. Why bother
> to use an iterative scheme at all? Bragging rights, that you have
> such a fast computer that you can burn CPU cycles (but no
> memory?)
>
> Learn to use the tools in matlab. In this case:
>
> help slash
>
> John
I am sorry; I did not explain myself clearly enough.
I cannot simply use the Matlab's backslash because my matrices are not square.
Given,
A 401x201 and B 401x201
and executing,
X = A\B
returns
Warning: Rank deficient
X 201x201
Using the Jacobian Method returns the correct,
X 401x201
I apologize for complaining about the speed of these calculations; I did not provide the full details of my work. I am running CFD simulations with upwards of 10 million time steps, wherein each time step I need to iteratively solve AX = B. I believe that if I were to employ the SOR Method to solve this system of linear equations, I could dramatically reduce time needed to solve AX = B.
I did not mean to cause such an uproar. I am simply looking for an example of SOR with matrices. I hope my explanation clears up any controversy.
Thank you for your suggestion, and I look forward to more,
Nate
|