Problem dividing matrix by vector

1 次查看(过去 30 天)
Maaz Madha
Maaz Madha 2020-3-28
评论: Maaz Madha 2020-3-28
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 个评论
Maaz Madha
Maaz Madha 2020-3-28
编辑:Maaz Madha 2020-3-28
In the Q, the boundary conditions are and T is periodic
Maaz Madha
Maaz Madha 2020-3-28
At the 4 edges basically I had to look at periodicity so and

请先登录,再进行评论。

回答(0 个)

标签

Community Treasure Hunt

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

Start Hunting!

Translated by