Problem dividing matrix by vector

4 vues (au cours des 30 derniers jours)
Maaz Madha
Maaz Madha le 28 Mar 2020
Commenté : Maaz Madha le 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 commentaires
Maaz Madha
Maaz Madha le 28 Mar 2020
Modifié(e) : Maaz Madha le 28 Mar 2020
In the Q, the boundary conditions are and T is periodic
Maaz Madha
Maaz Madha le 28 Mar 2020
At the 4 edges basically I had to look at periodicity so and

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Logical dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by