periodic boundary conditions in matrix

2 vues (au cours des 30 derniers jours)
semiha
semiha le 1 Déc 2014
Modifié(e) : semiha le 1 Déc 2014
Hi everyone, i want to ask about a question n*n matrix like Q[A C 0 0 0 0 0....C ; C A C 0 0 0 0....0 ; 0 C A C 0 0 0....0 ; ...... ; ...... ; 0 0 0 0 0......C A ; A C 0 0........0 C ; A C 0 0....... 0 C] which is Q(1)=Q(n+1), Q(n)=Q(2n) and so on... It is periodic and A and C is not constant. I have some difficulties writing in MATLAB
Please help me, thanks

Réponses (0)

Catégories

En savoir plus sur Physics 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