periodic boundary conditions in matrix
2 views (last 30 days)
Show older comments
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
0 Comments
Answers (0)
See Also
Categories
Find more on Multidimensional Arrays in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!