Problem dividing matrix by vector

1 view (last 30 days)
Maaz Madha
Maaz Madha on 28 Mar 2020
Commented: Maaz Madha on 28 Mar 2020
Hi
I have a matrix of 20301*20301
and a vector of 20301*1 ...(after 201 iterations, so at cell 202 the numbers start.Before it was all zeros)
When I try dividing the using A\b, the error "Warning:Singular Matrix .." comes up and my answer is just NaNs. I compared my answer to a friend and while he got the exact values of A and b his division worked and he got actual values. I was wondering if anyone could shed light on this situation
  16 Comments
Maaz Madha
Maaz Madha on 28 Mar 2020
Edited: Maaz Madha on 28 Mar 2020
In the Q, the boundary conditions are and T is periodic
Maaz Madha
Maaz Madha on 28 Mar 2020
At the 4 edges basically I had to look at periodicity so and

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!