Problem dividing matrix by vector

2 Ansichten (letzte 30 Tage)
Maaz Madha
Maaz Madha am 28 Mär. 2020
Kommentiert: Maaz Madha am 28 Mär. 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 Kommentare
Maaz Madha
Maaz Madha am 28 Mär. 2020
Bearbeitet: Maaz Madha am 28 Mär. 2020
In the Q, the boundary conditions are and T is periodic
Maaz Madha
Maaz Madha am 28 Mär. 2020
At the 4 edges basically I had to look at periodicity so and

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by