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 件)

カテゴリ

Help Center および File ExchangeCorrelation and Convolution についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by